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 or report bugs: https://goo.gl/lj0JRI | Tutorial: https://bit.ly/37P6z0B | Books: https://bit.ly/3xlLcQq | FOSDEM 2020: https://bit.ly/35xZGy6 | Logs: https://libera.irclog.whitequark.org/openscad | don't ask to ask
ur5us_ has joined #openscad
muesli has quit [Quit: NO CARRIER]
muesli has joined #openscad
LordOfBikes has quit [Ping timeout: 256 seconds]
LordOfBikes has joined #openscad
arebil has joined #openscad
Jack21 has quit [Ping timeout: 256 seconds]
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
nelson_ has joined #openscad
russnelson has quit [Read error: Connection reset by peer]
ur5us_ has quit [Ping timeout: 264 seconds]
snaled has quit [Ping timeout: 256 seconds]
snaled has joined #openscad
arebil has joined #openscad
PovilasCNC has joined #openscad
nelson_ has quit [Remote host closed the connection]
nelson_ has joined #openscad
GNUmoon has quit [Ping timeout: 276 seconds]
nelson_ has quit [Remote host closed the connection]
nelson_ has joined #openscad
GNUmoon has joined #openscad
Jack21 has joined #openscad
ur5us_ has joined #openscad
InPhase has quit [Ping timeout: 250 seconds]
InPhase has joined #openscad
lastrodamo has joined #openscad
ur5us has joined #openscad
ur5us_ has quit [Read error: Connection reset by peer]
PovilasCNC has quit [Read error: Connection reset by peer]
PovilasCNC has joined #openscad
ur5us_ has joined #openscad
ur5us has quit [Ping timeout: 264 seconds]
<gbruno> [github] djfix13 opened issue #3985 (Rendering only 1 cpu core). https://github.com/openscad/openscad/issues/3985
mhroncok has joined #openscad
ur5us_ has quit [Ping timeout: 268 seconds]
<gbruno> [github] t-paul closed issue #3985 (Rendering only 1 cpu core). https://github.com/openscad/openscad/issues/3985
ochafik has joined #openscad
LordOfBikes has quit [Ping timeout: 245 seconds]
ochafik has quit [Remote host closed the connection]
LordOfBikes has joined #openscad
PovilasCNC_ has joined #openscad
PovilasCNC has quit [Ping timeout: 268 seconds]
TheAssassin has quit [Quit: No Ping reply in 180 seconds.]
TheAssassin has joined #openscad
ochafik has joined #openscad
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
rogeliodh has quit [Quit: The Lounge - https://thelounge.chat]
rogeliodh has joined #openscad
<Jack21> is this automatically acquire the used libraries?
<teepee> yes, ce activate downloads and sets the enviroment variable
<InPhase> teepee: Yay for SmoothCylinder. :) But was Microsoft's vcpkg-ce really the best tool? I have no comparative knowledge, just a little sadness about things starting with "vc" after getting burned so many times from problems.
<teepee> I'm happy to check other stuff, so far it's the one which fits best
<teepee> in the sense that it allows the registry to be some github repo and that pointing to the libraries on github too
<teepee> I don't really want to volunteer for hosting everything on some openscad server
<InPhase> So is environment.yaml a magic filename ce looks for?
<teepee> hijacking the gem repo seems not ideal for example :)
<teepee> yeah, I think so
<teepee> my understanding is that it's not a fully published tool yet though
<teepee> there's certainly stuff I don't like but also I don't see someone writing that from scratch
RoyK has quit [Ping timeout: 256 seconds]
<InPhase> Okay, so I see from the embedded yamls that it doesn't git grab, but unzips to specific versions.
<teepee> yes, I have not tried if it works without the hash
<teepee> basically it's "release" only with that setup
<Jack21> sounds great - so libraries are not shipped with the install like MCAD but registered in a DB
RoyK has joined #openscad
<InPhase> teepee: The general structure of this has good potential. I guess my first questions are security related. If yaml files are viewed as part of the scad deliverable, then the security guarantees of OpenSCAD distributables suddenly include whatever the processing of that yaml file is allowed to do.
<teepee> I asked that question in the "package manager" thread :)
<InPhase> teepee: So that includes questions of where ce is allowed to write files when it does its things.
<teepee> at least it's not supposed to run arbitrary stuff, which is good
<InPhase> That's a start. But since it downloads arbitrary stuff security also depends on where it is allowed to save those things.
<InPhase> Wouldn't want wget of .bash_profile or anything. :)
<teepee> I think it maintains a directory tree in ~/.vcpkg
<InPhase> Probably that's testable by trying out some absolute paths outside of the intended tree, or relative paths including ..
<InPhase> You would think they would check for that, except maybe it's omitted because it's pre-release and targetting devs instead of end-users, whereas we're targetting non-programmers who would mostly never inspect this stuff.
<InPhase> Oh, I just caught on that fearthecowboy from the issue is the same as the main developer of this. That's a serious asset in favor. :)
<InPhase> I had caught his comment 2 weeks ago about "I'm building it for my employer" and "I can't say more at the moment" and mentally tuned that out until something manifested. But, it manifested.
<InPhase> I suppose with that level of engagement, any issues we find are likely to get addressed. That makes this sound like a prudent starting point. I should try to poke this after the workday is done and Thanksgiving break starts.
<teepee> yep, the index generation issue was fixed as promised
arebil has joined #openscad
la1yv_b has quit [Read error: Connection reset by peer]
la1yv_b has joined #openscad
nelson__ has joined #openscad
snakedGT has joined #openscad
JakeSays_ has joined #openscad
To_Aru_Shiroi_Ne has joined #openscad
LordOfBikes has quit [Killed (NickServ (GHOST command used by zmoeegcaniygmwdk!~armin@dslb-092-075-144-065.092.075.pools.vodafone-ip.de))]
LordOfBikes has joined #openscad
nelson_ has quit [*.net *.split]
snaled has quit [*.net *.split]
JakeSays has quit [*.net *.split]
lagash has quit [*.net *.split]
ToAruShiroiNeko has quit [*.net *.split]
lagash has joined #openscad
lagash has quit [Max SendQ exceeded]
lagash has joined #openscad
<Scopeuk> teepee that's rather interesting
<teepee> it is. the integration is not ideal yet, it's a bit too command line focused in my view, so it remains to be seen how GUI integration could work
<Scopeuk> I suppose gui or language intergration
<Scopeuk> first run throws up a need to interact with vcpkg continue? dialog
<teepee> it's not vcpkg
<teepee> similar name, but seems to be a totally different project
<teepee> > "The ce tool is a cross-platform developer environment configuration utility."
<Scopeuk> yeh just looked at it
<Scopeuk> the underlying use case potentially stands
<Scopeuk> I'm not entirely sure what problem in the real world it is trying to solve but I guess we shall see
<teepee> yeah, I don't get the vcpkg-tool vs. vcpkg-ce part
<teepee> other than people prefer TypeScript instead of C++?
<teepee> well, the -ce can't do builds as far as I can tell, so it's also much more limited, at least for now
<Scopeuk> it looks like it is just for getting and extracting zips into places
<teepee> yep, pretty much
<InPhase> teepee: libce needed
<teepee> yep, that would be ideal
<teepee> but not one that is based on v8 :)
<InPhase> Yeah...
Holger22 has joined #openscad
<Holger22> Moin!
<Holger22> Is there a way to cofigure/change the "export STL/F7" button?
<Holger22> I would like to export 3MF by default and save some clicks... Lazy.
<InPhase> Holger22: Not presently, but changing the default save would be a useful preferences feature to add. It would require a few more icons as well, such that they're swapped out when the preference is changed.
<teepee> slightly different idea... https://github.com/openscad/openscad/issues/3982
<Holger22> can't we have both?
nelson__ has quit [Ping timeout: 268 seconds]
Colt has joined #openscad
<Holger22> Ok, next thing: every item needs a new, additional parameter "visibility".
<Holger22> just true and false. if false, item is not rendered. just that simple.
<teepee> that works already with a simple user defined module
<Holger22> is there an example?
Guest5051 has joined #openscad
<Holger22> don't understand. I would like to have a cube(1,2,3],visibility=false);
<teepee> module show_if(visible=true) if (visible) children();
<teepee> show_if(false) cube();
<Holger22> ah. ja.
<Holger22> reason is: i'm playing around with different fill levels in a 3d model. as far as I see that needs to export different 3mf files for every fill grade item. and so I want to have one design that I easily can split into multiples exports...
pac1 has joined #openscad
Guest5051 has quit [Quit: Client closed]
<Jack21> Holger22 you know the % modifier?  or $preview
<Jack21> also i am using sometimes tiny cuts to force the slicer to make internal walls / structure it is a bit like infill
<Jack21> (or printing multi walled object in vase mode)
Colt has quit [Quit: Leaving]
Colt has joined #openscad
<Holger22> jack21 its just how to organize my workflow.... I want one object during design with F5/F6 and then export it into two 3MFs for printing. So basically i need 3 different models...
<Holger22> I'm struggeling with a smart, understandable, easy design concept.
<Holger22> oor searching for. whatever.
<Jack21> if(opt==1)A();    so you can select which module or union you want
<Holger22> thats the qway i do it.
Colt has quit [Remote host closed the connection]
Colt has joined #openscad
<Holger22> thats a lot of ifs all around. my idea with a visibility param would unclutter that.
Colt has quit [Remote host closed the connection]
Colt1 has joined #openscad
Colt1 has quit [Remote host closed the connection]
<Jack21> as teepee suggested  you can write a module that hides the "if " code
<Jack21> or just use a *  in front of the object to hide it
Colt has joined #openscad
<Jack21> every part of your design should be a module  - so you can include you visibility variable  and the main script is just calling the modules
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
<Holger22> lets assume i have something like that: https://pastebin.com/rwqE69XG
ochafik has quit [Remote host closed the connection]
<Holger22> how to organize it better? I would love to make the pipe thing into a module and insert these into the plate...
<Jack21> assuming you don't want a lib to make this easier - Ü    use a loop to loop one difference
<Holger22> what i miss (or dont see) is how to drill a hole from/with a module and put something into it. it the way I'm used to do it in cad...
<Holger22> the module would add  negative cylinder, then the cylinder and another negativ cylinder...
<Jack21> you can use children() as an object within a module - that will be replaced by the child object of that module
<Holger22> I see. That doesnt really solve my conceptual problem, that i would like to have the pipi-object as a part and put it into the plate...
<Jack21> here the cube is any object what gets the 4 pipes with holes in it
<Holger22> now that is something
ur5us_ has joined #openscad
<Jack21> for more flexibility you can use a cross array ( for (x=[0:2],y=[-1:1])  and add the amount of holes and distance as variables in the module
<teepee> some more examples along those lines... http://www.tridimake.com/2014/11/how-to-use-openscad-4-children-and.html
<gbruno> [github] t-paul pushed 1 modifications (Link facebook group.). https://github.com/openscad/openscad.github.com/commit/e37145ca43dcb7ec81fa1560bc491bb15b1a5b1e
<Jack21> always amazes me how code is just a tool but requires a new way of thinking to use it -  like you give someone a water guided femto second laser - without any idea what to do with it.
GNUmoon has quit [Ping timeout: 276 seconds]
<Holger22> thx teepee. reading stuff for tomorrow
arebil has joined #openscad
<Holger22> most tools have some sort of an concept. but if you only know a hammer, all solutions look like nails and you try to force them on everything. thats my current state.... I need to understand the concept better.
arebil has quit [Ping timeout: 250 seconds]
<pac1> holger22, you may want to add an epsilon to the stuff you are removing.
Guest61 has joined #openscad
Guest61 has left #openscad [#openscad]
<pac1> Holger22, when writing code to do things that you are accustomed to doing with a mouse, think in terms of separating the measurements, the construction of an object and the final positioning of the object. You may want to do several moves while constructing, and then a final move of what you've built.
Holger22 has quit [Quit: Client closed]
<pac1> moves include translation and rotation, with rotation done first and translation done afterwards. If combining cylinders and cubes, you may want to use the center=true parameter when constructing.
GNUmoon has joined #openscad
ccox has joined #openscad
ccox_ has quit [Ping timeout: 260 seconds]
lastrodamo has quit [Quit: Leaving]
pa has quit [Ping timeout: 256 seconds]
pah has joined #openscad
ur5us_ has quit [Ping timeout: 256 seconds]