<Scopeuk>
setting the angles is unfortunately a maths job
<peepsalot>
Zauberfisch: no, openscad is all math, you specify the angles. it's not really built for inspection or point and click like that.
<Alicia>
the question inspired me to write a polygonangles module which (using math of course) prints angles at each point of a polygon. https://ion.nu/tmp/polygonangles.scad.txt
Junxter has joined #openscad
<Zauberfisch>
Alicia: oh, that's amazing
<Zauberfisch>
thank you so much
<Zauberfisch>
that is exactly what I need
<Zauberfisch>
Scopeuk: thanks for that tipp though, sounds useful for more in detail inspections
mhroncok has joined #openscad
KimK has quit [Ping timeout: 268 seconds]
lastrodamo has joined #openscad
KimK has joined #openscad
ur5us_ has quit [Ping timeout: 264 seconds]
PovilasCNC has quit [Read error: Connection reset by peer]
PovilasCNC has joined #openscad
snakedLX has quit [Read error: Connection reset by peer]
snakedLX has joined #openscad
af has quit [Ping timeout: 265 seconds]
af has joined #openscad
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
JoelJoel is now known as Joel
<Jack21>
Alicia that is cool, if you raise the Text .1 in z it isn't Z-fighting
PovilasCNC has quit [Read error: Connection reset by peer]
snakedLX has quit [Remote host closed the connection]
snakedLX has joined #openscad
<InPhase>
Alicia: That will combine well with the new points = render() PR. :)
<InPhase>
(Which reminds me, I forgot to inspect that PR...)
Guest2 has joined #openscad
Guest2 has quit [Client Quit]
<Alicia>
InPhase: I'm not familiar with that but it sounds like it could be useful :)
PovilasCNC_ has quit [Read error: Connection reset by peer]
PovilasCNC_ has joined #openscad
Colt has quit [Quit: Leaving]
ali1234 has quit [Remote host closed the connection]
ali1234 has joined #openscad
peeps[win] has joined #openscad
peeps[zen] has joined #openscad
peepsalot has quit [Ping timeout: 250 seconds]
peepsalot2 has quit [Ping timeout: 256 seconds]
<Zauberfisch>
Ah, about my other question:
<Zauberfisch>
How can I create PDFs larger than A4?
peeps[zen] has quit [Ping timeout: 265 seconds]
peeps[win] has quit [Ping timeout: 265 seconds]
sinned6915 has quit [Remote host closed the connection]
<InPhase>
Zauberfisch: Save as svg and convert at your leisure.
<InPhase>
Zauberfisch: The pdf export seems to target a specific printable form.
<Zauberfisch>
that makes scaling a pain
<Zauberfisch>
the PDF export seems perfect for what I need. except that it seems to be limited to A4
<InPhase>
The svg has natural units in it.
<Zauberfisch>
oh, it does?
<InPhase>
It does. They're mm
<Zauberfisch>
do you ahve a recommendation what client I could print the svg with?
<InPhase>
Or well, mm if you used mm for your design.
<Zauberfisch>
inkscape didn't seem to respect the format
<InPhase>
This does: rsvg-convert -f pdf -o out.pdf in.svg
<Zauberfisch>
or maybe I did something wrong
<Zauberfisch>
one moment
<InPhase>
rsvg-convert also has a lot of options.
<Zauberfisch>
lovely
<Zauberfisch>
thanks
<Zauberfisch>
rsvg-convert is wonderful
<InPhase>
The latest version appears to support margins as well. My repository version does not yet, but I don't usually need them for what I do, so I'll wait for the new one to roll out.
<Zauberfisch>
I found --left and --top
<InPhase>
Usually I'm busy removing margins from pdfs, because I typically embed things in LaTeX documents and such anyway.
<InPhase>
Yeah, my version is still missing those on 20.04
<InPhase>
Ubuntu 22.04 will probably pick that up in a few months. :)
<Zauberfisch>
hate to be that guy, but I am using arch linux :P
<InPhase>
Shame, scorn and mockery! But it worked for you today. :)
<Zauberfisch>
have to resit the urge telling everyone how superiour arch is
PovilasCNC_ has quit [Read error: Connection reset by peer]
<InPhase>
Yes, compulsive disorders can in fact be difficult to deal with.
<InPhase>
More seriously, there was a time in my life when I felt the need to stay cutting edge. Now I ride patiently on stable versions with high selectivity in when I go to the cutting edge, for the sake of time management.
<InPhase>
But it can be both educational and offer some benefits that I understand from my past to opt for the other strategy. :)
Guest70 has joined #openscad
<Zauberfisch>
InPhase: are you sure that rsvg-convert keeps the scale correctly?
<Zauberfisch>
or maybe it does
<Zauberfisch>
and my model is wrong
Guest70 has quit [Client Quit]
<InPhase>
Sure? Not really. But there are fancy options for dpi and such so you should be able to control it if it doesn't.
<InPhase>
I'm certain the svg starts correctly, because you can make trivial models and read the svg values directly in the svg file as text.
<InPhase>
My svg files even report mm units, which I approve of. :)
<InPhase>
For my 500mm x 500mm square with a notch cut out.
<InPhase>
And the path: M 500,-500 L 0,-500 L 0,-0 L 200,-0 L 200,-199 L 400,-199 L 400,-0 L 500,-0 z
<Zauberfisch>
yeah, I see the svg seems correct
<Zauberfisch>
but the print is 10mm to small
<InPhase>
I've seen pdf printing programs smash pdf's down if they don't properly detect the margins one attempts to add as margins.
<Zauberfisch>
yeah ...
<InPhase>
There might be settings in the pdf printer, or other settings you can try while converting it.
<Zauberfisch>
that might be the problem
<Zauberfisch>
idk
<Zauberfisch>
nah, I think I give up
<Zauberfisch>
I will just let the 3d printer print a 2mm high plastik sheet
<InPhase>
:)
<Zauberfisch>
gonna take an hour to ...
<Zauberfisch>
which makes debuging my model timeconsuming
<InPhase>
It looks like inkscape is nothing short of incompetent at importing svg's. I've really wanted to like inkscape, but they make so many design choices I don't understand that I find it basically unusable in almost every circumstance.
submariner has joined #openscad
sinned6915 has joined #openscad
LordOfBikes has quit [Quit: Ex-Chat]
<Jack21>
there was the issue with the pixel conversion in inkscape causing these issue but that should be solved
<Jack21>
check if you have 96 or 90 dpi configured
<Jack21>
but that would cause 30mm difference at 500mm
LordOfBikes has joined #openscad
<InPhase>
I want 25.4 dpi anyway...
<InPhase>
Or some multiple thereof.
snakedLX has quit [Remote host closed the connection]
snakedLX has joined #openscad
<Jack21>
there are no half pixels - Ü
<Jack21>
and inkscape used pixel as unit - something weird like that
<InPhase>
Well inkscape doesn't need to be locked to inches... Like I said, weird design decisions. Also, weird for a vector program to be so concerned with pixels.
<Jack21>
i never had these issues but i know in our space for some this caused wrong dimensions on the laser cutter
<peepsalot>
inkscape is vector program focused on SVG. The supported length unit identifiers in SVG are: em, ex, px, pt, pc, cm, mm, in, and percentages.
<peepsalot>
so blame W3C i guess
<peepsalot>
also depends on what coordinate space you are referencing. you can maybe argue that there are no fractional *device* pixels, document pixels however...
<peepsalot>
although subpixel hinting etc would say that even devices have subpixels
<dalias>
inkscape is really bad :/
<dalias>
i'd love a program like openscad but for creating svgs (i.e. write your svg in a functional language that's actually text rather than xml pseudo-text)
<dalias>
there's probably some decent way to do this actually...
<Scopeuk>
dalias i belive openscad can output and svg when working in 2d
lastrodamo has quit [Quit: Leaving]
<Jack21>
so we only need fill and line colors and styles links and splines and layer …
<dalias>
scopeuk, yeah but it doesn't have good primitives to make svg curves from
<Scopeuk>
No argument here
<Scopeuk>
You can hand code them, svg's are "human readable" but its ugly as a format, there are a couple of python libraries for doing geometry work that might work but the names have slipped my memory
<dalias>
yeah. well, individual curve objects are human readable
<dalias>
the whole document structure is xml which is *not* human readable :-p
<dalias>
because the snr is like <1% :-p
af has joined #openscad
SamantazFox has quit [Remote host closed the connection]