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
<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>
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>
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?