<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.
<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...
<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…]
<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.
<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.