ochafik has quit [Remote host closed the connection]
ochafik has joined #openscad
ochafik has quit [Remote host closed the connection]
Guest1721 has joined #openscad
furrymcgee has joined #openscad
incal has joined #openscad
<Guest1721>
Hello. I'm trying to install OpenScad on my brand new Macbook Pro. However, macOS complains that the software is not safe. Is there a way to get openscad running on Monterey?
<incal>
o/ I'm on Debian, should I install openscad or the -testing pack? also, do you happen to have a top-view 2D example map for me to check out, a room say? TIA
<teepee>
Guest1721: that's a nonsense message from MacOS, in earlier versions there was an option to install by giving an exception in Settings -> Security
<teepee>
incal: the -testing package is really for regression testing of openscad, so not really needed for normal use
<cbmuser>
knielsen: OK; what about your DM status, was this closed or can I still write my message?
<teepee>
you could install the -nightly package which has the latest changes that happened since the release
<Guest1721>
Yes, however, that option to override is no longer available?
<incal>
teepee, OK!
<incal>
teepee, no such pack here but I do the regular then
<Guest1721>
I was trying that route :-) However, the nightly still gave me: “OpenSCAD” cannot be opened because the developer cannot be verified.
<teepee>
incal: it's separate on OBS, the links are on the website if you want to try this
<teepee>
but otherwise the release is fine :)
<teepee>
Guest1721: well, that feature seems to be buggy for ages and they can't seem to be able to fix it. on my ancient macbook I have to disable, start application, enable again
<teepee>
no idea if that's still possible with newer macos versions
<Guest1721>
Ah, wait, I'm wrong! It seems openscad can now be opened through the override. phew!
<teepee>
ok, good, so not fully locked down yet
<Guest1721>
yep.
<Guest1721>
Doing some stress tests, but the macbook pro keeps rendering everything in less than a second so far.
<Guest1721>
(on the nightly)
<teepee>
ha, that would have been my question :)
<teepee>
did you enable the experimental features?
<knielsen>
cbmuser: As I understand it, the process is closed, but can just be re-opened when you're ready to write the advocacy
ochafik has joined #openscad
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
ochafik has quit [Remote host closed the connection]
ali1234 has quit [Remote host closed the connection]
ali1234 has joined #openscad
<cbmuser>
knielsen: OK
ochafik has joined #openscad
Guest1721 has quit [Quit: Client closed]
Guest85 has joined #openscad
Guest85 has quit [Client Quit]
ochafik has quit [Remote host closed the connection]
ochafik has joined #openscad
peeps[zen] has quit [Ping timeout: 245 seconds]
furrymcgee has quit [Quit: leaving]
peepsalot has joined #openscad
ochafik has quit [Remote host closed the connection]
ochafik has joined #openscad
incal has quit [Ping timeout: 260 seconds]
ochafik has quit [Remote host closed the connection]
ochafik has joined #openscad
mhroncok has quit [Quit: Leaving.]
ochafik has quit [Remote host closed the connection]
ochafik has quit [Remote host closed the connection]
ochafik has joined #openscad
ochafik has quit [Remote host closed the connection]
ochafik has joined #openscad
<Joel>
anyone do anything to try and keep track of various items drawn? like to build a cut list? any examples out there of htis?
ur5us has joined #openscad
pah has joined #openscad
pa has quit [Ping timeout: 264 seconds]
<InPhase>
Joel: They're mostly echo and parse, with variations on that. I've seen some example libraries of people trying to make tools to help with that, but I'm not sure if any are generalizable.
<InPhase>
And I don't recall the names of those libraries off of the top of my head.
<Joel>
InPhase yeah, that's the direction I was headed, seems like it could be enough
<InPhase>
There's an issue topic discussing the value of a better formatted print, that would reduce external parsing needs.
<Joel>
I mean I guess dumping it in json/yaml/yadda would be nice, but yeah.
<Joel>
Is there an issue floating about I can follow for the returning of values?
ur5us has quit [Quit: Leaving]
<InPhase>
You cannot return values from modules, only from functions.
<InPhase>
If it helps, you can covertly pass a print formatting function into modules using dynamic variables, or various settings for print formatting using dynamic variables, which will be picked up in all the function calls from deep within the modules.
pah has quit [Ping timeout: 268 seconds]
<JakeSays>
hmm. aren't $variables global?
<JakeSays>
er, user define $variables
pah has joined #openscad
<Joel>
You can user define $variables? that would be game changing
<Joel>
though "global" variables generally lead to messes
ochafik has quit [Remote host closed the connection]
<JakeSays>
yeah i dont think they're truly global
ali1234 has quit [Remote host closed the connection]
pah has quit [Ping timeout: 268 seconds]
ali1234 has joined #openscad
pah has joined #openscad
default__ has quit [Ping timeout: 268 seconds]
default__ has joined #openscad
<Joel>
I'm basically designing "layers", and I'd like to define common attachment points, it may work out for me
<Joel>
rotate(a=[0,90,0]) - after calling this, I have to translate a negative number, to get it to move up on the x axis
<Joel>
is the axis/directionality associated with the shape, and not in relation to the general workspace/
<Joel>
it seems the axis stays rooted to the shape, rather than rooted to x,y,z in the workspace, this has def. been a source of confusion for me.
default__ has quit [Ping timeout: 268 seconds]
default__ has joined #openscad
<JakeSays>
Joel: are you talking about in preview mode?
<Joel>
JakeSays yes
<JakeSays>
i think there's a bug that causes the axis to shift from workspace to shape. it happens to me sometimes, and if i restart openscad it reverts behavior
pah has quit [Ping timeout: 268 seconds]
<JakeSays>
not sure if it's the same issue, but it sure is frustrating
<JakeSays>
so.. i need to use the children of a module in a submodule. is this possible?
pah has joined #openscad
default__ has quit [Ping timeout: 268 seconds]
default__ has joined #openscad
ccox has quit []
<Joel>
declaring a variable in an if statement put it in a new scope?
<teepee>
yup, you can use the ternary expression instead: val = cond ? true : false;
<Joel>
I'm a little confused why the second one gives me a syntax error
<teepee>
setting array fields is not possible
<Joel>
ouch :(
<teepee>
or more generally, all variables behave like in math
<teepee>
they can have one value, and only one :)
lastrodamo has quit [Quit: Leaving]
<Joel>
cut = b == end ? [[0, 0], [0, 0], [4, 3.5]] ? [[0, 0], [0, 0], [0, 0]]; - also gives me a parse error
<Joel>
ah crap, second ? needs to be :
<teepee>
and as it's an expression you could inline saving some typing
<teepee>
[0, 0], b == end ? [4, 3.5] : [0, 0]];
<teepee>
result is the same of course
ccox has joined #openscad
<InPhase>
Joel: Not only can you pass dynamic variables down, in the master branch you can pass dynamic function literals down. There is quite a lot of flexibility possible from this. e.g.: https://bpa.st/Y2PA
<InPhase>
If you don't have the master branch or a nightly around, this is the output: https://bpa.st/KG5A