Rendering STL's can be really slow, and getting a sensible position on
the OpenSCAD axes can be a pain ITA.
There is an online STL -> OpenSCAD object convertor here...
https://raviriley.github.io/STL-to-OpenSCAD-Converter/
The output is a list of point coordinates which is a fully usable
OpenSCAD code block, which can be rendered and all the normal OpenSCAD
operations can be carried out - very handy if you don't have the
original model but like me you need to modify it, and more importantly
sits on the 0,0,0 coordinates.
If you've got a broken STL which you cannot import into OpenSCAD, I
found this process, using MeshLab can fix a broken mesh.
https://formlabs.com/blog/best-stl-file-repair-software-tools/
HTH
Roger.
Hi Roger!
Thank you for the answer, although the question did not refer to this, but to how to edit the settings file under Windows, if there is one.
I tried the stl converter. :(
I got a huge object() that is "impossible" to edit.
I would like to have a file in which the individual shapes are separated (e.g. head, chest, belly) and I can replace them and define a new part.
Is there a converter that knows this?
As if freecad would know. It just works mercilessly slowly, at least on my machine, which isn't very skilled anyway.
by now I manged this (with the help from Adrian) But to be honest I
have no idea what I am doing.
e.g. what does this order??
--> regular_polyhedron("icosahedron", d=40,draw=false)
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
$fn=100;
include<../BOSL2/std.scad>
include<../BOSL2/polyhedra.scad>
t="\u2730"; // 10 euro and a smilie
t1="\u2725";
t2="\u2741";
t3="\u273F";
myfont=["Obstacle BRK","Opiated BRK","Pseudo
BRK","OpenSymbol:style=Regular"];
//myfont="OpenSymbol:style=Regular";
echo (myfont[3]);
difference(){
sphere(d=40);
sphere(d=39);
regular_polyhedron("icosahedron", d=40,draw=false)
{
linear_extrude(5)
text(t,halign="center",valign="center",spacing=1.1, size=6,
font = myfont[3]);
linear_extrude(5)
text(t1,halign="center",valign="center",spacing=1.1, size=6,
font = myfont[3]);
linear_extrude(5)
text(t2,halign="center",valign="center",spacing=1.1, size=6,
font = myfont[3]);
linear_extrude(5)
text(t3, halign="center",valign="center",spacing=1.1, size=5,
font = myfont[3]);
}
} ;
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Am 12.02.23 um 17:57 schrieb gmagyar6@gmail.com:
|I tried the stl converter. :( I got a huge object() that is
"impossible" to edit. I would like to have a file in which the
individual shapes are separated (e.g. head, chest, belly) and I can
replace them and define a new part. Is there a converter that knows
this? As if freecad would know. It just works mercilessly slowly, at
least on my machine, which isn't very skilled anyway.|
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org
I am not sure I understand your question. The regular_polyhedron module
creates a polyhedron and puts children on the faces. The draw=false arg
prevents the polyhedron itself from being drawn, so you only get the
children positioned on the invisible faces. Maybe reading here will help
you understand?
https://github.com/revarbat/BOSL2/wiki/polyhedra.scad
On Sun, Feb 12, 2023 at 1:48 PM Karl Exler karl.exler@meinklang.cc wrote:
by now I manged this (with the help from Adrian) But to be honest I have
no idea what I am doing.
e.g. what does this order??
--> regular_polyhedron("icosahedron", d=40,draw=false)
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
$fn=100;
include<../BOSL2/std.scad>
include<../BOSL2/polyhedra.scad>
t="\u2730"; // 10 euro and a smilie
t1="\u2725";
t2="\u2741";
t3="\u273F";
myfont=["Obstacle BRK","Opiated BRK","Pseudo
BRK","OpenSymbol:style=Regular"];
//myfont="OpenSymbol:style=Regular";
echo (myfont[3]);
difference(){
sphere(d=40);
sphere(d=39);
regular_polyhedron("icosahedron", d=40,draw=false)
{
linear_extrude(5)
text(t,halign="center",valign="center",spacing=1.1, size=6, font
= myfont[3]);
linear_extrude(5)
text(t1,halign="center",valign="center",spacing=1.1, size=6, font
= myfont[3]);
linear_extrude(5)
text(t2,halign="center",valign="center",spacing=1.1, size=6, font
= myfont[3]);
linear_extrude(5)
text(t3, halign="center",valign="center",spacing=1.1, size=5,
font = myfont[3]);
}
} ;
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Am 12.02.23 um 17:57 schrieb gmagyar6@gmail.com:
I tried the stl converter. :(
I got a huge object() that is "impossible" to edit.
I would like to have a file in which the individual shapes are separated (e.g. head, chest, belly) and I can replace them and define a new part.
Is there a converter that knows this?
As if freecad would know. It just works mercilessly slowly, at least on my machine, which isn't very skilled anyway.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
On 12.02.2023 17:57, gmagyar6@gmail.com wrote:
|I would like to have a file in which the individual shapes are
separated (e.g. head, chest, belly) and I can replace them and define
a new part. Is there a converter that knows this|
If the various shapes are disjoint, you can do it with 'polyfix' (part
of AngelCAD).
Carsten Arnholm
Hi Gabor!
I tried to import an STL file, it works me only, if the STL file is in the
same directory, as the OpenScad file, in which I open it.
In this case I don't have to use any slach or backslash.
I only wrote: import("Szkeg_tarto.STL") and it works.
Or do you have an other problem?
szia
Sanyi Megyeri
gmagyar6@gmail.com ezt írta (időpont: 2023. febr. 12., V, 17:58):
I tried the stl converter. :(
I got a huge object() that is "impossible" to edit.
I would like to have a file in which the individual shapes are separated (e.g. head, chest, belly) and I can replace them and define a new part.
Is there a converter that knows this?
As if freecad would know. It just works mercilessly slowly, at least on my machine, which isn't very skilled anyway.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org