<InPhase>
teepee: And did you try the transparent at different temperatures? I haven't printed transparent in years, but I have a vague memory of it being very cloudy when I printed too cold.
<teepee>
the current prints are pretty hot, maybe I'll do some test prints when the PETG arrives
<teepee>
for now it looks quite nice and even the huge thread works fine
<teepee>
M134.6 ;-)
<InPhase>
Hahah.
<InPhase>
I didn't even notice the threads for attaching that until you mentioned. :)
<InPhase>
But a good call.
<teepee>
the inner part is also threaded, I need to put the PCB somewhere after all
<teepee>
it's a bit annoying that those 4 digit 7-segment LED things are so thick. One of those in the middle would be nice too
<InPhase>
Is the circuit going to do anything clever with the colors?
<teepee>
if I can find something, yes. otherwise just the boring clock with colors for hour / minute / seconds and maybe the 10 minute marks
<Zauberfisch>
good evening
<Zauberfisch>
I've added the BOSL lib to my lib folder, but I am not sure how to use it now
gunnbr_ has joined #openscad
<Zauberfisch>
the installation instructions just say to place the folder there
<Zauberfisch>
but when I try to use one of the functions, I get "WARNING: Ignoring unknown module 'cuboid'"
<teepee>
the docs for the specific function should say which file to include
<Zauberfisch>
do I need to include the modules or something?
<Zauberfisch>
oh, so I still have to include lib files?
<InPhase>
Zauberfisch: It's probably best to grab an example. You would see in there the include for it.
<Zauberfisch>
fair enough
<Zauberfisch>
oh boy
<Zauberfisch>
sorry
<Zauberfisch>
just saw the line telling me to unclude/use
<teepee>
the library folder just means you can do include <BOSL/...>
<teepee>
instead of full path
<Zauberfisch>
sorry, got it
<teepee>
and the latest dev snapshot should even do auto completion on the files :)
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
ferdna has quit [Quit: Leaving]
arebil has joined #openscad
Jack224 is now known as Jack22
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
<Jack22>
why does a polyhedron is so much slower compared to the same with a 2D poly and rotate_extrude one is .1 sec the other 5 sec
<Jack22>
hmm ok seems the way i generate the points is just ineffective
lastrodamo has joined #openscad
rvt_ has joined #openscad
rvt_ has quit [Quit: rvt_]
arebil has joined #openscad
SamantazFox has joined #openscad
hyperair has joined #openscad
hyperair has quit [Client Quit]
SamantazFox has quit [Ping timeout: 240 seconds]
fling is now known as swing
Jack22 has quit [Ping timeout: 256 seconds]
Jack22 has joined #openscad
JHoglund has joined #openscad
<JHoglund>
How can I lay out my parts on a flat surface without manually positioning them? I am designing parts for my laser cutter in 2D, how they will fit together I only have in my head. As I design my parts, I find myself spedning quite a bit of effort positioning them so they don't overlap. Is there a nice workflow for handling this positionig?
<JHoglund>
The final positioning (nesting) will be done in a different software, so as long as I get them clearly separated in OpenSCAD their position don't really matter to me.
<Scopeuk>
JHoglund to my knowledge there is nothing completely automated within openscad. Your easiest option would probably to make a grid/line spaced by your largest part dimension
<JHoglund>
Scopeuk: Line with items spaced by longest width is fine. As I understand, I can't increase a counter since variables are computed compile-time. How can I easily say "move to next position", do I need to manually keep track of the number of parts already placed and call translate([largest_part_w * 13, 0]) where 13 would be my part number?
<Scopeuk>
You could stack the translates operations, i hihly suspect there is some neat way to do it with a for loop and children in a module
<JHoglund>
If I can send a "part" into a module or function, I could probably achieve this quite elegantly. Thanks for the input!
<Jack22>
Jhoglund what version du you use and how does that happen? (just checked with 21.01 and didn't get an error)
<JHoglund>
Scopeuk: I saw that, and it would probably make sense for me, but I thought I'd put off the 3D assembly of things for now and focus on the 2D where I have at least a grasp of what I'm doing :)
<Scopeuk>
wasent meaning its relevent, just was interesting, but yes it does make sense
<JHoglund>
Jack22: I cloned the git repo you linked to, I am using OpenSCAD 2019.01-RC2 (which is what my Debian gave me when installing yesterday). I copied the ub.scad file into my libraries folder and included it with: include <ub.scad>
<InPhase>
JHoglund: 2019.01-RC2 doesn't include function literals unless you have enabled them.
<InPhase>
JHoglund: It's better to upgrade the version from there.
<InPhase>
It was a busy 2 years of development between 2019.01 and 2021.01, so there are a lot of fixes and features to pick up, many of which are hard to remember.
<JHoglund>
InPhase: I tend to stick to apt-get, but I do understand that Debian is often behind... What's reasonable to do? Download the AppImage from the openscad.org download page?
<InPhase>
Yeah, the AppImage is self-contained.
<InPhase>
I generally keep a pile of AppImages in /usr/local/bin and then symlink in there to the latest one.
<InPhase>
Or to the designated one I have as primary, typically the latest release.
<JHoglund>
Jack22: Okay, new OpenSCAD version running and your library is running fine :) Could you show me two rectangles and a circle laid out with your library?
<JHoglund>
InPhase: Put "OpenSCAD-2021.01-x86_64.AppImage" in /usr/local/bin and then "ln -s OpenSCAD-2021.01-x86_64.AppImage openscad" ?
<Jack22>
Anorden (option=3) is the Grid which doesn't work in 21.01
<Jack22>
but option 2 is linear and works .. so may be that can be a workaround too
<Jack22>
or get a nightly build (if that is possible for Debian
<InPhase>
Jack22: Which feature does option=3 depend on that wasn't in release?
<Jack22>
it is how special variables are treated as i have to reassign the index variable which isn't working in 21.01
<InPhase>
Right.
<Jack22>
and the grid $idx is a list so it need to converted into a number
<JHoglund>
Jack22: For option=2, can I get it to stack vertically instead of horizontally? For this job, parts are typically wider than tall
<InPhase>
JHoglund: There's an axis option.
<Jack22>
use axis=3
<InPhase>
axis=2 if you meant tall in the y direction, I think.
<JHoglund>
I ment tall in the Y direction, thanks :)
rvt_ has joined #openscad
rvt_ has quit [Client Quit]
<Jack22>
JHoglund so i fixed this if you dl the current ub.scad β22|012 you can use the grid option=3 (and rot=[0,0,90]) with 2021.01
<Jack22>
teepee inphase also you have id and od now for Rosette();
<InPhase>
*thumbsup*
<InPhase>
A usage workflow interface like that will boost usability nicely I think.
<teepee>
Jack22: nice, I might try that with the updated design, I probably need to increase the center part a bit as the PCB is a pretty tight fit
miique has joined #openscad
<JHoglund>
Jack22: Thanks! I tried setting es=[100, 200] expecting a grid size of 100x200, but I don't think that's what happened. How should it be done?
<teepee>
and I bought another set of 5 led rings :D
<Jack22>
JHoglund es is only the distance between single elements so your grid would have a spacing of 100 200
<Jack22>
i think Grid has a parameter for size but not Anordnen
<JHoglund>
Jack22: Didn't quite catch that. For a grid, that is 2-dimensional, I would expect to give two dimensions for the es. Or am I limited to square cells in the grid?
<Jack22>
JHoglund yes es=5 will convert into es=[5,5] ( there was an other issue so i updated ub.scad again .. maybe that is why you still have troubles)
<Jack22>
You sure can use es=[10,5]
<Jack22>
Anorden will try to calculate how your object number fit in here but you can define the row and columns with e .. loop=true will wrap around if number of objects is smaller then the matrix .. loop=false will leave those places empty
<JHoglund>
Jack22: Since I have some tiny objects and some quite large, I ended up using Anordnen three times. I'm quite happy with the result, here is a screenshot of my workspace. It's a briefcase for escape rooms with digital number inputs and magnetic locks for remote control. https://paste.pics/7c2612078630edf93a02400a19150121
<JHoglund>
Previous design in LightBurn on the right. I got a bit tired when I realised that I had to change material thickness from 9mm -> 6mm and all dimensions needed to be re-calculated. I hope that OpenSCAD will solve that for me :)
<Jack22>
openSCAD can do if parameterized in the script you use
<Jack22>
also seems you didn't used the option=3 for grid in Anordnen so es and e will only be a number not a list/vector/array
<JHoglund>
Yep, so I did. It looks as if my computations hold together when I change the dimensions.
<Jack22>
btw you can disable the rainbow color or change if you like
<JHoglund>
Jack22: No, I stuck with option=2. I believe that I would need to give a cell size large enough for my largest parts with the grid and thus the tiny pieces would be really spaced out. That's why I made three different option=2 columns instead
<JHoglund>
The colour is good! Any ideas on how to put names on my parts?
<Jack22>
text("name"); will do this if you don't want it in the render just put a % in front
<Jack22>
if you want this for Anordnen the part and text need to be in a union() so they are treated as one children
<Jack22>
btw. you also can nest Anordnen and so Arrange the sub Anorden modules
<Jack22>
grouping objects with same Y dimension would allow to minimize space between or write a script that moves each object according to a list that stores the element dimension .. (which would probably mean to rewrite your code)
<JHoglund>
Jack22: Deepnest does a fairly good job of nesting the parts before cutting, so no need to struggle with grouping in OpenSCAD :) https://paste.pics/FJ39C
<Jack22>
ah nice .. so you only need to spread them for export
<JHoglund>
Jack22: And to look at while I'm working. Before you showed me your library I had horrible code to push the pieces around so that I could tell them apart.
<Jack22>
translate(rands(-100,100,3)) - Ü
rvt has quit [Ping timeout: 268 seconds]
TheAssassin has joined #openscad
TheAssass1n has quit [Quit: No Ping reply in 180 seconds.]
SamantazFox has joined #openscad
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
<marcus>
teepee: hmm, changed it like ` text(textstr,size=sizeit*.9,font=fontname,halign="center",valign="baseline",direction="..");` and it still seems to crash.
<buZz>
marcus: direction="ltr"
<buZz>
i bet
rawgreaze_ has joined #openscad
<buZz>
String. Direction of the text flow. Possible values are "ltr" (left-to-right), "rtl" (right-to-left), "ttb" (top-to-bottom) and "btt" (bottom-to-top). Default is "ltr".
t-paul[m] has quit [Quit: Client limit exceeded: 20000]
<Jack22>
ah nice ( the old examples are not there - Ü ) but much more importand - how can someone find this page, there is no reference to it
<teepee>
it's not official
<teepee>
this would need to be setup in a permanent way
t-paul[m] has joined #openscad
<Jack22>
hmm wouldn't a link to this on the left at http://openscad.org/documentation.html "Exampels" be a first step .. or the wiki has an Examples path but only the strandbeest is there and without portal page
<Jack22>
btw i just found the roof example is there a plan to implement the roof angle (height) into that ?
<teepee>
I don't want to maintain that manually, so before linking it, this needs to be automated
<teepee>
for roof, the hope is that it can be combined with offset_extrude()
<Jack22>
offset_extrude is not in the build .. is this brand new
<teepee>
not new, but also not really finished unfortunately
<teepee>
it's somehow in limbo as it works for some cases but fails for others, so it's a bit difficult to decide how to move forward
<Jack22>
but how can it be used if not a feature to activate - do i have to compile myself ?
<teepee>
either that, or use the auto build (may need re-triggering after a month or so)