I'm trying to create 3D model to print a stamp. I started with Inkscape SVG
file with some text converted in single path in it. Then I convert it into
DXF format with plugin for Inkscape. Then I import it into OpenSCAD and
extrude the stamp. The problem is that the stamp should have a cone-like
shape. The letters must become thick at the bottom. I did't find the way to
this using extrude command so I sliced the model into a set of layers and
applied different offset values to each layer. But the result has a lot of
artifacts. Is there another way to do it instead of slicing?
for(i=[0:30]){
translate( [0, 0, 0.7i/30] )
linear_extrude(height = 0.7/30, convexity = 10,scale=1,slices = 1)
offset(r = 0.2i/30)
import(file = "drawing1.dxf",center = true,scale=1.5);
}
translate( [-2,-2,0.7] )
cube(size = [50,50,0.2]);
Here is the DXF file that I used https://cloud.mail.ru/public/3kaU/3w7h3czN1
http://forum.openscad.org/file/t2613/2.png
--
Sent from: http://forum.openscad.org/
Change the scale value in linear_extrude to something other than 1.
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/2D_to_3D_Extrusion#Scale
On Tue, Jul 30, 2019 at 2:11 PM Fram valkrsk@gmail.com wrote:
I'm trying to create 3D model to print a stamp. I started with Inkscape SVG
file with some text converted in single path in it. Then I convert it into
DXF format with plugin for Inkscape. Then I import it into OpenSCAD and
extrude the stamp. The problem is that the stamp should have a cone-like
shape. The letters must become thick at the bottom. I did't find the way to
this using extrude command so I sliced the model into a set of layers and
applied different offset values to each layer. But the result has a lot of
artifacts. Is there another way to do it instead of slicing?
for(i=[0:30]){
translate( [0, 0, 0.7i/30] )
linear_extrude(height = 0.7/30, convexity = 10,scale=1,slices = 1)
offset(r = 0.2i/30)
import(file = "drawing1.dxf",center = true,scale=1.5);
}
translate( [-2,-2,0.7] )
cube(size = [50,50,0.2]);
Here is the DXF file that I used
https://cloud.mail.ru/public/3kaU/3w7h3czN1
http://forum.openscad.org/file/t2613/2.png
--
Sent from: http://forum.openscad.org/
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Unfortunately scale works with respect to single point in the model. This
leads to distortion (see the attached picture).
http://forum.openscad.org/file/t2613/3.png
--
Sent from: http://forum.openscad.org/
If you do a linear_extrude of each letter separately, you may be able to
control the distortion adequately?
On Tue, 30 Jul 2019, 17:13 Fram, valkrsk@gmail.com wrote:
Unfortunately scale works with respect to single point in the model. This
leads to distortion (see the attached picture).
http://forum.openscad.org/file/t2613/3.png
--
Sent from: http://forum.openscad.org/
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Perhaps minkowski with a cone. Probably slow but I think it should work.
On Tue, 30 Jul 2019 at 07:19, Frank van der Hulst drifter.frank@gmail.com
wrote:
If you do a linear_extrude of each letter separately, you may be able to
control the distortion adequately?
On Tue, 30 Jul 2019, 17:13 Fram, valkrsk@gmail.com wrote:
Unfortunately scale works with respect to single point in the model. This
leads to distortion (see the attached picture).
http://forum.openscad.org/file/t2613/3.png
--
Sent from: http://forum.openscad.org/
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Not at all. The scale has a different effect. The inner parts of the letters
will also lean outward. I'd like them to lean in. More like an offset
action.
--
Sent from: http://forum.openscad.org/
Something like this?
http://forum.openscad.org/file/t1309/chamfered_letters.jpg
--
Sent from: http://forum.openscad.org/
Similar. The only difference is that the letters should have an initial
thickness at the top and expand to the bottom.
--
Sent from: http://forum.openscad.org/
As far as I can tell, Minkowski with a cone is about the only easy way to
do it
On Tue, 30 Jul 2019, 02:29 nop head, nop.head@gmail.com wrote:
Perhaps minkowski with a cone. Probably slow but I think it should work.
On Tue, 30 Jul 2019 at 07:19, Frank van der Hulst drifter.frank@gmail.com
wrote:
If you do a linear_extrude of each letter separately, you may be able to
control the distortion adequately?
On Tue, 30 Jul 2019, 17:13 Fram, valkrsk@gmail.com wrote:
Unfortunately scale works with respect to single point in the model. This
leads to distortion (see the attached picture).
http://forum.openscad.org/file/t2613/3.png
--
Sent from: http://forum.openscad.org/
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
https://www.thingiverse.com/thing:3089014
Apparently, there's a "thingi" out there that does what you require!
OpenSCAD based of course.
On Monday, July 29, 2019, 10:11:58 PM EDT, Fram valkrsk@gmail.com wrote:
I'm trying to create 3D model to print a stamp. I started with Inkscape SVG
file with some text converted in single path in it. Then I convert it into
DXF format with plugin for Inkscape. Then I import it into OpenSCAD and
extrude the stamp. The problem is that the stamp should have a cone-like
shape. The letters must become thick at the bottom. I did't find the way to
this using extrude command so I sliced the model into a set of layers and
applied different offset values to each layer. But the result has a lot of
artifacts. Is there another way to do it instead of slicing?
for(i=[0:30]){
translate( [0, 0, 0.7i/30] )
linear_extrude(height = 0.7/30, convexity = 10,scale=1,slices = 1)
offset(r = 0.2i/30)
import(file = "drawing1.dxf",center = true,scale=1.5);
}
translate( [-2,-2,0.7] )
cube(size = [50,50,0.2]);
Here is the DXF file that I used https://cloud.mail.ru/public/3kaU/3w7h3czN1
http://forum.openscad.org/file/t2613/2.png
--
Sent from: http://forum.openscad.org/
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org