<gbruno>
[github] lgarron opened issue #5376 ("The given mesh is not closed" rendering error when `rotate_extrude` rotates a shape with a point on the rotation axis.) https://github.com/openscad/openscad/issues/5376
<gbruno>
[github] lgarron edited issue #5376 ("The given mesh is not closed" rendering error when `rotate_extrude` rotates a shape with a point on the rotation axis.) https://github.com/openscad/openscad/issues/5376
<gbruno>
[github] lgarron edited issue #5376 ("The given mesh is not closed" rendering error when `rotate_extrude` rotates a shape with a point on the rotation axis.) https://github.com/openscad/openscad/issues/5376
<gbruno>
[github] lgarron edited issue #5376 ("The given mesh is not closed" rendering error when `rotate_extrude` rotates a shape with a point on the rotation axis with even `$fn`) https://github.com/openscad/openscad/issues/5376
<gbruno>
[github] lgarron edited issue #5376 ("The given mesh is not closed" rendering error when `rotate_extrude` rotates a shape with a point on the rotation axis with even `$fn`) https://github.com/openscad/openscad/issues/5376
<gbruno>
[github] lgarron edited issue #5376 ("The given mesh is not closed" rendering error when `rotate_extrude(rotate_extrude)` rotates a shape with a point on the rotation axis with even `$fn`) https://github.com/openscad/openscad/issues/5376
<gbruno>
[github] lgarron edited issue #5376 ("The given mesh is not closed" rendering error when `rotate_extrude(rotate_extrude)` rotates a shape with a point on the rotation axis with even `$fn`) https://github.com/openscad/openscad/issues/5376
<gbruno>
[github] lgarron edited issue #5376 ("The given mesh is not closed" rendering error when `rotate_extrude(rotate_extrude)` rotates a shape with a point on the rotation axis with even `$fn`) https://github.com/openscad/openscad/issues/5376
guso78 has joined #openscad
<guso78>
@kintel, thank you for taking over the task with the localslicer temp file name. it will make my life easier with the local slicer.
<J24k45>
UltimateCodeWarr you don't need an extension - openscad can import SVG
<UltimateCodeWarr>
let me try it with the svg
<buZz>
you can put # before a item to make it light up, inside the difference
<buZz>
maybe put one before the cylinder() to see where you are placing it
<J24k45>
import(center=true) can help too and resize()
<buZz>
is resize() a alias for scale() ?
<buZz>
oh, fancy
<buZz>
its for target size :)
<J24k45>
no resize renders the object to get the size and then scales to match the desired size
<buZz>
nice
<UltimateCodeWarr>
JK, that center trick is nice. The SVG wasn't the same size. so some tweaking is necessary. Also F6 works in the render of it once it's been extruded, but since it's a poly mesh, it takes a few seconds.
<gbruno>
[github] lgarron edited issue #5376 ("The given mesh is not closed" rendering error when `rotate_extrude(rotate_extrude)` rotates a shape with a point on the rotation axis with even `$fn`) https://github.com/openscad/openscad/issues/5376
<J24k45>
using offset(-.1) can help remove jagged edges / double points
<buZz>
J24k45: oh, nice trick
<J24k45>
if you have convex and concave you might use offset(.2)offset(-.1)
<UltimateCodeWarr>
Where do I use that?
<J24k45>
offset(-.1)resize()import();
<J24k45>
offset is a 2D operation
<UltimateCodeWarr>
I think the SVG is cleaner, a little better format and it renders with F6, so I will stick with it.
<UltimateCodeWarr>
I guess what I was expecting was some sort of polygon array that you could include in your file vs just including the .svg
<UltimateCodeWarr>
Are there any functions that would allow you to wrap a coaster like this around a sphere or cylinder's curved side?
<Scopeuk>
there is nothing native in openscad I know os, someone may have done it with slicing the model into lots of parts. I believe that functionality is now integrated into prusa slicer
<Scopeuk>
bar to psi
<Scopeuk>
hmm wrong keyboard
<J24k45>
you can copy the content of the svg into a function that i converting the curves into points .. no having points you can make a polar transformation so they are on a sphere or cylinder
guso78 has quit [Quit: Client closed]
<J24k45>
if the object is only on a smaller part of the curved surface it is easier to use a difference of the extrusion and a smaller surface
pca006132 has quit [Remote host closed the connection]
pca006132 has joined #openscad
pca006132 has quit [Remote host closed the connection]
pca006132 has joined #openscad
guso78 has joined #openscad
<guso78>
UltimateCodeWarr, I have coded a "wrap" function which wraps an (y thin) solid around a cylider, but you have to specify its radius.
<InPhase>
guso78: Is that in the python bits?
<InPhase>
Doing that in regular OpenSCAD properly would require that data = render() PR.
<guso78>
InPhase yes exactly. the procedure is render, split segments to a maximum fs size, and finally do coordinate transformation
<guso78>
Any feature which is not app;lied already during the creating of an object(=primitives) anyway needs a render. And as all objects are cached anyway it does not make a difference if the time for rendering is spent earlier or later.
mmu_man has joined #openscad
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #openscad
aiyion1 has quit [Ping timeout: 260 seconds]
aiyion1 has joined #openscad
UltimateCodeWarr has quit [Quit: Client closed]
guso78 has quit [Quit: Client closed]
<gbruno>
[github] kintel closed issue #5376 ("The given mesh is not closed" rendering error when `rotate_extrude(rotate_extrude)` rotates a shape with a point on the rotation axis with even `$fn`) https://github.com/openscad/openscad/issues/5376
<tcurdt->
I need a cube with the side walls leaning in with a certain angle alpha. Is there anything easier than just calculating the points for a polyhedron?
<tcurdt->
which is not hard but... I am wondering
<tcurdt->
I tried a hull with two squares - but the squares are in 2d and there is no translate in the 3rd dimension to form a hull
<teepee>
all angles the same?
<teepee>
if yes, linear_extrude with scale
<teepee>
if you don't fuzz about imperfections you can hull() two very thin extruded squares in 3d
<J24k45>
use lin_extrude(scale=0)square(center=true).. and turn the upper [180] and there are no imperfections
<J24k45>
but as math would be same .. using only the linear_extrusion would be also my choice .. (have a function that calculates scale for a certain angel and radius)
<teepee>
it's dancing on the edge though. who knows if scale = 0 will always work
<J24k45>
scale=.1 ? you only need a single edge for the hull
<tcurdt->
thanks folks ... I ended up going the polyhedron route ... a little more verbose ... but the math is so simple ... in end felt the most straight forward