<JordanBrown[m]>
InPhase: DenKn the geometry-as-data effort will not *directly* let you get the dimensions of an object. You'll need to render it (also into data) to get those. The distinction is in whether you have to pay the performance price for the render. In general, OpenSCAD does not *know* the dimensions of an object until you render it. (Unions are easy. Differences and intersections are not.)
<kwikius>
The return expression is a moduleLiteral, which needs to look up its args in the Function args, but the function assumes they got evaluated in a previous step... , so just gives the outer scope ... I think!
<InPhase>
I think I was the earliest advocate here of mashing object literals and object literals into one. I was probably calling for this back in 2020 or so. But, it clearly doesn't work for these numerous reasons. :)
<InPhase>
typo... of mashing module literals and object literals into one.
<InPhase>
The dream is simply faulty, given the existing language.
<InPhase>
buZz: Well, when you export a tech drawing like that for some purpose like a machinist to use, they expect to have things like some key dimensions of the part also marked. Without that they'll have a hard time making use of it.
<InPhase>
buZz: And that makes it a whole bigger ordeal than just putting out some images.
<InPhase>
buZz: And granted, I think having that capability would be spectacular. But we're talking about some sort of whole featureset to somehow specify where these dimensional markings should go and what things should be marked.
<kwikius>
Hopefully I can solve that issue in the morning. A bit past my bedtime tonight Bye!
kwikius has quit [Quit: Client closed]
<InPhase>
Not sure if kwikius meant that about my post, but I don't think it's a quick bug fix sort of thing.
califax has quit [Ping timeout: 258 seconds]
califax has joined #openscad
ur5us has quit [Ping timeout: 246 seconds]
aiyion has quit [Ping timeout: 258 seconds]
aiyion has joined #openscad
ur5us has joined #openscad
aiyion has quit [Remote host closed the connection]
aiyion has joined #openscad
la1yv_j has quit [Remote host closed the connection]
la1yv_j has joined #openscad
la1yv_j has quit [Remote host closed the connection]
la1yv_j has joined #openscad
ur5us has quit [Ping timeout: 260 seconds]
ur5us has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 258 seconds]
teepee_ is now known as teepee
ur5us has quit [Ping timeout: 260 seconds]
ur5us has joined #openscad
peepsalot has quit [Remote host closed the connection]
peepsalot has joined #openscad
castaway has joined #openscad
Guest21 has joined #openscad
Guest21 has quit [Client Quit]
<Scopeuk>
the theme stuff seams to be a thorn in the side of multiple projects using qt, and its also window manager, qt and theme dependant just to keep adding degrees of freedom, interestingly vnote appeared to have issues wit ha prebuilt qt5ct but no issue with a self build https://github.com/vnotex/vnote/issues/526
<Guest79>
Hello! Can someone help me with OpenSCAD? :]
<J1A84455>
Guest79 sure
J1A84455 is now known as J1A84
<Guest79>
I don't get it. I am trying to make Christmas ornament with custom text from Thingiverse and I get error: ERROR: The given mesh is not closed! Unable to convert to CGAL_Nef_Polyhedron.
<othx>
Guest79 linked to "Customizable Christmas Name Ornament by Lyl3" on thingiverse => 2 IRC mentions
<J1A84>
what version do you use and did you use fastCSG ?
<Guest79>
I am trying to make that "Emma" style but I get only like Arial font. If preview shows another font and I render it I get that error or font goes basic Arial.
<Guest79>
I am new with OpenSCAD...D:
<J1A84>
do you have openSCAD installed?
<Guest79>
Yes I install it. version 2021.01
<Guest79>
Don't know what fastCSG is..
<J1A84>
no problem ..
<J1A84>
so with fonts the problem is that only those installed (registered) on your System can be used
<Guest79>
I registered/Installed fonts but can't get those work
<J1A84>
check if you see them in the dialog .. iirc there was a problem with fonts under windows when not installed as administrator
<J1A84>
it is a bit weird that you get the error when choosing a not available font as it should simply fall back .. maybe a bug in 2021
<Guest79>
I can see those fonts so they are installed right
<J1A84>
yes .. try to copy the font string and open a new openSCAD window and paste it to check
<J1A84>
which font are you trying ?
<J1A84>
(just to make sure you see the fonts in the openSCAD fonts list (help menue) ? not Windows fonts right? )
<Guest79>
Yep I see those also in OpenSCAD fonts list.
<J1A84>
you can enter the font string in the customizer »other font« form but remove the ""
<J1A84>
did you try the christmalsNameOrnament-v1.2.scad or a different version?
<Guest79>
Well... This is weird... '=D I tried another font and now OpenSCAD render it right. '=D
<Guest79>
I tried both christmalsNameOrnament-v1.2.scad and 1.1
<J1A84>
it is possible that a font has intersections that cause problems
<J1A84>
maybe interference with the line_under_text
<J1A84>
you can try the name y offset to add some space or overlap - maybe that helps
<Guest79>
There was some issues with text and guide was moving the name down slightly. First it did not help any. I have tried so many differents setups and now I am little confused what really helps... '=D
Guest79 has quit [Quit: Client closed]
Guest79 has joined #openscad
<Guest79>
Thank you so much for helping. I'll try now make some custom ornament. Thank you!
<linext>
for the output parameters of a vector, does it have the same format as the input parameters?
ccox has joined #openscad
<linext>
for example, vector4=[1,2,3,4]; leads to "initial':[1,2,3,4]
<linext>
so output params would be: "vector4":"[1,2,3,4]" ?
J1A84 has quit [Quit: Client closed]
J1A84 has joined #openscad
<linext>
hmmm...
<linext>
not so easy with HTML
Guest79 has quit [Quit: Client closed]
tachoknight has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<linext>
looks like it needs something along the lines of: if(Array.isArray(new FormData(document.getElementsByName('customizer')[0]).getAll(htmlField))){ ... }
<linext>
then keeping all the already found arrays in a temp array