teepee changed the topic of #openscad to: OpenSCAD - The Programmers Solid 3D CAD Modeller | This channel is logged! | Website: http://www.openscad.org/ | FAQ: https://goo.gl/pcT7y3 | Request features / report bugs: https://goo.gl/lj0JRI | Tutorial: https://bit.ly/37P6z0B | Books: https://bit.ly/3xlLcQq | FOSDEM 2020: https://bit.ly/35xZGy6 | Logs: https://bit.ly/32MfbH5
snaked has joined #openscad
J23k has quit [Quit: Client closed]
J23k has joined #openscad
Guest1 has joined #openscad
Guest1 has quit [Client Quit]
arebil has quit [Quit: arebil]
pa has quit [Ping timeout: 255 seconds]
snaked has quit [Remote host closed the connection]
snaked has joined #openscad
Gene98 has joined #openscad
<Gene98> I have an issue with a release version from 2023.11.06 that is making me wonder how to proceed. When I load in an .scad file from OpenSCAD's menu, the syntax is fine. When I load it in via command line on MacOS, there is a syntax error a couple of lines after the last line
califax has quit [Ping timeout: 264 seconds]
califax has joined #openscad
TheAssassin has quit [Ping timeout: 264 seconds]
TheAssassin has joined #openscad
GNUmoon has quit [Ping timeout: 264 seconds]
erectus has quit [Ping timeout: 264 seconds]
erectus has joined #openscad
Guest52 has quit [Quit: Client closed]
LordOfBikes has quit [Ping timeout: 256 seconds]
GNUmoon has joined #openscad
<Gene98> As soon as I use the "-D arg" option on the command line, the scad file will have a syntax error
<dalias> gene98, what argument have you used with -D ?
<Gene98> a filename
<dalias> do you maybe have some hidden characters in it or something?
<dalias> -D does not take a filename
<Gene98> I was told last night to put \\ before and after the name
<dalias> that's not right
<dalias> what is the full exact failing command ?
<Gene98> the syntax error message mentions a line a couple of lines after the last line of the file
<Gene98> I don't see any error, it just complains of one
<dalias> your usage of -D is probably bogus
<dalias> can you please show the exact command ?
<Gene98> sure
LordOfBikes has joined #openscad
<Gene98> #! /bin/sh
<Gene98> for I in 10
<Gene98> do
<Gene98>   IN_FILE='/Users/gene/Desktop/Flake2023-mbp/Flake2023.'$I
<Gene98>   OUT_FILE=$IN_FILE".fb.stl"
<Gene98>   #/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD -Dfilename=\\$IN_FILE\\ -o $OUT_FILE ./split.scad
<Gene98>   /Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD -D 'filename=\\$IN_FILE\\' -o $OUT_FILE ./splitter.scad
<Gene98> done
<dalias> $ does not expand inside single quotes
<dalias> you're misusing the shell
<Gene98> Adding the quotes around the -D argument didn't help
<dalias> and putting literal syntax errors in there
<dalias> -D "filename=\"$IN_FILE\""
<Gene98> even with no quotes it still fails
<dalias> of course it does because that's not valid syntax
<dalias> you need literal quotes there to make a scad string
<dalias> and shell quotes to keep the shell from mucking with it
<Gene98> ok, I will do it right now
<dalias> whoever told you \\ probably meant \"
<Gene98> Thank you so much !
mmu_man has quit [Ping timeout: 260 seconds]
pah has joined #openscad
<dalias> np
Gene98 has quit [Quit: Client closed]
califax has quit [Remote host closed the connection]
erectus has quit [Read error: Connection reset by peer]
califax has joined #openscad
erectus has joined #openscad
rawgreaze has quit [Ping timeout: 246 seconds]
rawgreaze has joined #openscad
califax has quit [Ping timeout: 264 seconds]
erectus has quit [Ping timeout: 264 seconds]
TheAssassin has quit [Ping timeout: 264 seconds]
califax has joined #openscad
erectus has joined #openscad
TheAssassin has joined #openscad
tcurdt has quit [Server closed connection]
tcurdt has joined #openscad
snakedGT has joined #openscad
snaked has quit [Ping timeout: 268 seconds]
<gbruno> [github] ochafik opened pull request #4832 (Repair meshes in manifold & fast-csg routes) https://github.com/openscad/openscad/pull/4832
<gbruno> [github] ochafik edited pull request #4832 (Repair meshes in manifold & fast-csg routes) https://github.com/openscad/openscad/pull/4832
<gbruno> [github] ochafik edited pull request #4832 (Repair meshes in manifold & fast-csg routes) https://github.com/openscad/openscad/pull/4832
<gbruno> [github] ochafik edited pull request #4832 (Repair meshes in manifold & fast-csg routes) https://github.com/openscad/openscad/pull/4832
<gbruno> [github] ochafik synchronize pull request #4832 (Repair meshes in manifold & fast-csg routes) https://github.com/openscad/openscad/pull/4832
J23k8 has joined #openscad
J23k has quit [Ping timeout: 250 seconds]
zauberfisch has quit [Ping timeout: 240 seconds]
zauberfisch has joined #openscad
mohnish has quit [Server closed connection]
mohnish has joined #openscad
misterfish has joined #openscad
peepsalot has quit [Server closed connection]
peepsalot has joined #openscad
misterfish has quit [Ping timeout: 268 seconds]
aiyion has quit [Remote host closed the connection]
aiyion has joined #openscad
guerd87 has joined #openscad
misterfish has joined #openscad
snakedLX has joined #openscad
snakedGT has quit [Ping timeout: 268 seconds]
JordanBrown has quit [Quit: Never put off till tomorrow, what you can do the day after tomorrow]
erectus has quit [Remote host closed the connection]
erectus has joined #openscad
germ has quit [Server closed connection]
germ has joined #openscad
LordOfBikes has quit [Remote host closed the connection]
LordOfBikes has joined #openscad
arebil has joined #openscad
cart_ has joined #openscad
Ekho has quit [Server closed connection]
Ekho has joined #openscad
mmu_man has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 264 seconds]
teepee_ is now known as teepee
buZz has quit [Server closed connection]
buZz has joined #openscad
buZz is now known as Guest8004
JakeSays has quit [Server closed connection]
JakeSays has joined #openscad
leptonix has quit [Server closed connection]
leptonix has joined #openscad
Guest8004 is now known as buZz
drfff has joined #openscad
pah is now known as pa
guerd87 has quit [Read error: Connection reset by peer]
guerd87 has joined #openscad
cart_ has quit [Ping timeout: 256 seconds]
J23k8 has quit [Quit: Client closed]
J23k8 has joined #openscad
snakedLX has quit [Quit: Leaving]
cart_ has joined #openscad
cart_ has quit [Ping timeout: 246 seconds]
cart_ has joined #openscad
L29Ah has quit [Ping timeout: 268 seconds]
guso78k has joined #openscad
<gbruno> [github] gsohler synchronize pull request #4813 (Adding interactive measurement abilities to OpenSCAD) https://github.com/openscad/openscad/pull/4813
L29Ah has joined #openscad
splud has quit [Server closed connection]
splud has joined #openscad
ndnihil is now known as nihil
nihil is now known as ndnihil
mmu_man has quit [Ping timeout: 260 seconds]
misterfish has quit [Ping timeout: 246 seconds]
teepee_ has joined #openscad
mmu_man has joined #openscad
teepee has quit [Ping timeout: 264 seconds]
teepee_ is now known as teepee
mmu_man has quit [Ping timeout: 260 seconds]
Ckat has quit [Server closed connection]
Ckat has joined #openscad
mmu_man has joined #openscad
Lagopus has quit [Quit: reconfiguring]
crole has joined #openscad
<crole> Hey; are the devs in here?
<crole> Why is openscad slower than fusion 360 for assemblies?
<peeps[zen]> having backing of a multibillion dollar company probably helps
<teepee> yeah, pretty sure that helps :)
cart_ has quit [Ping timeout: 260 seconds]
<crole> How?
<crole> IRC is faster in response than Facebook, for counterexample.
<dalias> facebook makes money off the website being slow (getting you to install the app with more tracking and mitm browser)
<dalias> f360 makes money off being good at cad
<dalias> which necessitates being able to work with big assemblies
<InPhase> crole: I have designs that run more than hundreds of times faster now in OpenSCAD than they did 6 years ago, so it's not like no progress is made. :)
<InPhase> To the contrary, enormous progress has been made. But most of that is not present in the last release.
<dalias> yeah if you're using latest release that's the problem
<dalias> it's *so* *miserably* *slow*
<InPhase> The next release will be like an epoch change in capability, once we get the remaining issues sorted out and stabilized.
<dalias> has there been any more work on roof?
<InPhase> dalias: Did you really want to raise that?
<dalias> :( :( :(
<dalias> i've tried using it and it's exciting in preview, then errors out trying to render to export
<InPhase> dalias: Roof raising jokes aside, I shoulder some blame for tanking it as a feature. I recall raising early in that PR that it was kind of a half-solution to the problem space that might not be syntactically flexible enough to expand to the full solution space.
<InPhase> dalias: And there was some agreement on that notion, which kind of condemned it to experimental land.
<InPhase> dalias: But honestly I haven't thought about it a drop since then. Someone will probably have to go back and think about it carefully and either advocate for it anyway or prepare an update to address those issues. I never felt particularly strongly for or against roof, really, but was just trying to have a little guard against the creeping nature of language features that are not generalized.
<dalias> i'm very strongly for it. it's an excellent primitive to build on
<dalias> you can do more general offset-extrude type things building on it with modules
<InPhase> dalias: Yeah, generalized offset_extrude was the comparison at the time.
<dalias> *nod*
<dalias> you can do offset_extrude as a library on top of roof
<dalias> of course what i'd probably actually like more...
<dalias> is a function that takes a 2d object and outputs an array of points
<dalias> so you can implement all of this as a library
<dalias> but that's not how the language model works :/
misterfish has joined #openscad
<InPhase> dalias: Well at some point after I made that suggestion, I think the offset_extrude efforts stalled out under some confusion about how to properly handle the cases where shape features merge as they shrink.
<InPhase> dalias: It seems this can make some scenarios that are tricky to figure out how to keep manifold.
<dalias> :/
<InPhase> dalias: So the sequence was "Nice, but we should do it generally" "Oh, generally is actually tricky" *much time passes*
<dalias> btw i think you can do an "expanding offset" with complement(roof(complement))
<dalias> (where complement is defined in terms of some bounded fake of it)
misterfish has quit [Ping timeout: 246 seconds]
misterfish has joined #openscad
<InPhase> teepee: I just looked at the link. $42 for the digital stl files? That's impressive that they sold 119 copies of some very simple stl files for $42 each.
<teepee> very simple supposedly patented STLs
<InPhase> That's $5000 profit.
<teepee> "you don't get the CAD files"
<InPhase> Well I don't think there's any validity to a "put printed objects on the wall" patent.
<InPhase> They are only patent pending, but even if they got it, I highly doubt that would be enforceable.
<InPhase> 3D wall panels have been sold forever.
<teepee> well, enforcement at that level likely counts on price to pay is much lower than lawyers fighting it
<teepee> and honestly those look like about 20 lines of scad code
<teepee> and that would be the customizable version not just STL :)
<InPhase> Yeah, the highlighted one that they're showing off looks like I could do a first draft in 5 minutes. :)
<InPhase> Okay, 4 minutes, but only because I forgot the rands syntax and had to look it up...
<InPhase> 90 more seconds after I realized I forgot to include the screw holes, and then I adjusted them to make sure the screw-hole square are always recessed because this will be prettier. https://bpa.st/ROIQ
<InPhase> But a superior design over theirs would randomly position the screw holes to break up the patterning on the screws if you use many different random panels.
<InPhase> Or, omit screw holes and use an adhesive.
<InPhase> Randomly positioning screw holes would take an additional 3 minutes maybe, but let's file that under not worth it. :)
<teepee> ah, maybe the patent is AI-supported placement of screw holes :)
<teepee> tried patent search but nothing related shows up. not sure if applications would be listed there though
<InPhase> Pending patents are not publicly available.
<InPhase> I think they are also not enforceable until retroactively after the patent is granted.
<InPhase> It is actually a deep flaw in the patent system that pending patents are not publicly available, because this prevents a public comment period where people could point out nonsense that should not be patentable.
<teepee> that's clear, but how would you comment on filings if they are only published after the fact?
<InPhase> Well there's no existing mechanism for public comment. But a sensible change would include both public posting AND a comment mechanism.
<InPhase> We would prevent a lot of frivolous patents this way.
<teepee> it sounds like this should include applications: "On-line: Patent application publications are available electronically on the USPTO website, at http://www.uspto.gov/patft/index.html"
<InPhase> I think that still only posts them after they are granted. The "application" is what is posted.
<teepee> :(
<InPhase> Neither of the two patents I was involved with were publicly available until long after.
misterfish has quit [Ping timeout: 260 seconds]
<InPhase> teepee: I did this work in the summer of 2000. The patent was filed Nov 2002, and I signed documents for the filing sometime a little earlier in that year. It was granted in May 2009, and went on my resume at that same time, when I was notified that it was finally available to be linked to.
<InPhase> Sorry, "this" meaning : https://patents.google.com/patent/US7539978B1/en
<InPhase> teepee: So there was an astonishing 9 years being doing the work that led to a patent, and even getting to mark it on my resume. :)
<InPhase> s/being/between/
<teepee> that's crazy long
<teepee> also congratulations :)
<InPhase> I actually thought it would be expired by now, but I guess they got it extended.
<InPhase> They are not paying me any royalties though. :)
<teepee> it's making quite the rounds with different companies
<teepee> yep, extended till next year for now
L29Ah has left #openscad [#openscad]
<InPhase> Yeah, the company I worked for then got bought out. I'm not sure if they even still have the office I used to work at. As far as I know, all the people I knew there left.
<InPhase> Which is not too surprising as it's been 23 years... On the list of things to feel old about.
<teepee> now synopsis, that name does ring a bell
<InPhase> Yeah, that's a pretty big company.
<teepee> I guess I heard the name first in relation to FPGA stuff, with their pricing never used any of the software though :)
<teepee> talking of silicon design, after ages I watched a video from strange parts again, very cool stuff - assembly of ws2812 LEDs
<InPhase> Apparently they do a lot of secure system validation for the DoD, which is actually where the funds sourced from that funded my work in 2000. They've been interested in security validation of purchased components for quite a long time.
<InPhase> I know the code resulting from that project was used for quite a while to do those sorts of assessments. But I don't know what all it was used on.
<teepee> yeah, I guess it's a very difficult topic as any supply chains for the new complex stuff are huge
<InPhase> The ostensible purpose was for finding fragilities in codebases, but it would have also had potential applications for identifying backdoors. And there was a mechanism available for closing them. :)
misterfish has joined #openscad
aiyion has quit [Read error: Connection reset by peer]
erectus has quit [Remote host closed the connection]
califax has quit [Remote host closed the connection]
erectus has joined #openscad
aiyion has joined #openscad
califax has joined #openscad
linext has quit [Ping timeout: 260 seconds]
misterfish has quit [Ping timeout: 256 seconds]
little_blossom has quit [Server closed connection]
little_blossom has joined #openscad
Church- has quit [Server closed connection]
Church- has joined #openscad
<Scopeuk> The difference etween high integrity software and high security software is the high security guys don't talk about it
<Scopeuk> High integrity have the "safety critical systems club" they have meetings and everything
linext has joined #openscad
L29Ah has joined #openscad
guso78k has quit [Quit: Client closed]
aiyion has quit [Remote host closed the connection]
aiyion has joined #openscad
J23k8 has quit [Quit: Client closed]
J23k8 has joined #openscad
snaked has joined #openscad
Guest83 has joined #openscad
<Guest83> Is there a way to "echo" the current customizer preset name to the console?
<teepee> no, that's not available in the script
<teepee> well, unless you have an additional entry repeating it
<Guest83> do you mean a parameter that is also populated with the preset name?
<Guest83> by hand
<teepee> yes
<Guest83> is there a way to export a preset from one json file and import into another?
<teepee> no
<Guest83> too bad, that would be REALLY useful.
<Guest83> Thanks!
teepee_ has joined #openscad
J23k8 has quit [Quit: Client closed]
J23k8 has joined #openscad
Guest83 has quit [Quit: Client closed]
teepee has quit [Ping timeout: 264 seconds]
teepee_ is now known as teepee
L29Ah has left #openscad [#openscad]
red-snail has joined #openscad