Resend my activation email : Register : Log in 
BCF: Bike Chat Forums


OpenSCAD Experts?

Reply to topic
Bike Chat Forums Index -> The Geek Zone
View previous topic : View next topic  
Author Message

ScaredyCat
World Chat Champion



Joined: 19 May 2012
Karma :

PostPosted: 23:27 - 05 Jul 2015    Post subject: OpenSCAD Experts? Reply with quote

I know some of you do 3d printing and I seem to remember someone uses openSCAD. I've built my object, but in such a way that it's essentially a series of thin layers:

https://dl.dropboxusercontent.com/u/188253/_bcf/openscad1.png

There are a couple of reasons for this

1. I want to be able to build a prototype by printing templates for each layer and then cut them out of cardboard for test assembly.

2. I want to use a mixture of materials in the final object, so layers seems to be the simplest approach.

While I can export an STL file, the only thing I have that can read them is OpenSCAD and if I try to export as an image OpenSCAD tells me it's not a 2d object (fair enough) - So how do I go about getting the layers printed on my printer?
____________________
Honda CBF125 ➝ NC700X
Honda CBF125 ↳ Speed Triple
 Back to top
View user's profile Send private message You must be logged in to rate posts

nowhere.elysium
The Pork Lord



Joined: 02 Mar 2009
Karma :

PostPosted: 23:32 - 05 Jul 2015    Post subject: Reply with quote

Can you not export each layer piece as a dxf?
____________________
'10 SV650SF, '83 GS650GT (it lives!), Questionable DIY dash project, 3D Printer project, Lasercutter project
 Back to top
View user's profile Send private message You must be logged in to rate posts

ScaredyCat
World Chat Champion



Joined: 19 May 2012
Karma :

PostPosted: 23:48 - 05 Jul 2015    Post subject: Reply with quote

nowhere.elysium wrote:
Can you not export each layer piece as a dxf?


No, it wont let me. The console says

Quote:
WARNING: Current top level object is not a 2D object.

____________________
Honda CBF125 ➝ NC700X
Honda CBF125 ↳ Speed Triple
 Back to top
View user's profile Send private message You must be logged in to rate posts

nowhere.elysium
The Pork Lord



Joined: 02 Mar 2009
Karma :

PostPosted: 10:03 - 06 Jul 2015    Post subject: Reply with quote

OK, take a look at projection, then.

https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/3D_to_2D_Projection

:edit: the 'not a 2d object' thing is weird - dxf can handle 3d objects just fine.
____________________
'10 SV650SF, '83 GS650GT (it lives!), Questionable DIY dash project, 3D Printer project, Lasercutter project
 Back to top
View user's profile Send private message You must be logged in to rate posts

ScaredyCat
World Chat Champion



Joined: 19 May 2012
Karma :

PostPosted: 10:13 - 06 Jul 2015    Post subject: Reply with quote

nowhere.elysium wrote:
OK, take a look at projection, then.

https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/3D_to_2D_Projection

:edit: the 'not a 2d object' thing is weird - dxf can handle 3d objects just fine.


Saved each layer as an STL and then reopened in openscad and used

Code:
projection(cut = false) import("v2-mid-startlayer.stl");


and can now export as DXF - although, for added fun, under linux the only export available seems to be for STL whereas on my Mac I get multiple file format options.
____________________
Honda CBF125 ➝ NC700X
Honda CBF125 ↳ Speed Triple
 Back to top
View user's profile Send private message You must be logged in to rate posts

nowhere.elysium
The Pork Lord



Joined: 02 Mar 2009
Karma :

PostPosted: 10:20 - 06 Jul 2015    Post subject: Reply with quote

ScaredyCat wrote:
Saved each layer as an STL and then reopened in openscad and used

Code:
projection(cut = false) import("v2-mid-startlayer.stl");
What? Why?

Use an iterator to move the whole model in Z in whatever increments you need, with cut set to true. So much less faff, and it's an eminently re-usable function afterwards.
____________________
'10 SV650SF, '83 GS650GT (it lives!), Questionable DIY dash project, 3D Printer project, Lasercutter project
 Back to top
View user's profile Send private message You must be logged in to rate posts

ScaredyCat
World Chat Champion



Joined: 19 May 2012
Karma :

PostPosted: 11:05 - 06 Jul 2015    Post subject: Reply with quote

nowhere.elysium wrote:
What? Why?

Use an iterator to move the whole model in Z in whatever increments you need, with cut set to true. So much less faff, and it's an eminently re-usable function afterwards.


It's not a solid object sliced it's individual layers (about 4mm thick). ie A module for each layer and I just render the one I'm interested in.

My first go with openscad so I'm just learning but the intention isn't to get it 3d printed, but laser cut instead.
____________________
Honda CBF125 ➝ NC700X
Honda CBF125 ↳ Speed Triple
 Back to top
View user's profile Send private message You must be logged in to rate posts

nowhere.elysium
The Pork Lord



Joined: 02 Mar 2009
Karma :

PostPosted: 12:19 - 06 Jul 2015    Post subject: Reply with quote

ScaredyCat wrote:

My first go with openscad so I'm just learning but the intention isn't to get it 3d printed, but laser cut instead.
What did you want it cut from? If it's metal, I can't help, but wood or plastics are fine in my machines at work.
____________________
'10 SV650SF, '83 GS650GT (it lives!), Questionable DIY dash project, 3D Printer project, Lasercutter project
 Back to top
View user's profile Send private message You must be logged in to rate posts

ScaredyCat
World Chat Champion



Joined: 19 May 2012
Karma :

PostPosted: 15:33 - 06 Jul 2015    Post subject: Reply with quote

nowhere.elysium wrote:
ScaredyCat wrote:

My first go with openscad so I'm just learning but the intention isn't to get it 3d printed, but laser cut instead.
What did you want it cut from? If it's metal, I can't help, but wood or plastics are fine in my machines at work.


I want wood, although I've no idea what sort of wood is suitable. A lot of what I've seen is ply stuff - I suspect you have much more knowledge on what wood cuts well with a nice finish. What sort of file format would it need to be in? I've managed to get the layers into inkscape using slic3r.

Also found that red seems to be the colour for cuts and black for engraving and 0.01mm line widths?
____________________
Honda CBF125 ➝ NC700X
Honda CBF125 ↳ Speed Triple
 Back to top
View user's profile Send private message You must be logged in to rate posts
Old Thread Alert!

The last post was made 11 years, 56 days ago. Instead of replying here, would creating a new thread be more useful?
  Display posts from previous:   
This page may contain affiliate links, which means we may earn a small commission if a visitor clicks through and makes a purchase. By clicking on an affiliate link, you accept that third-party cookies will be set.

Post new topic   Reply to topic    Bike Chat Forums Index -> The Geek Zone All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Read the Terms of Use! - Powered by phpBB © phpBB Group
 

Debug Mode: ON - Server: birks (www) - Page Generation Time: 0.17 Sec - Server Load: 0.63 - MySQL Queries: 14 - Page Size: 66.29 Kb