Home » Support » 3D Design » Blender, facets, and STL imports
Search Search  
Show: Today's Messages    Show Polls    Message Navigator
Blender, facets, and STL imports [message #42762] Wed, 25 January 2012 22:44 UTC Go to next message
avatar mcgski  is currently offline mcgski
Messages: 5
Registered: January 2012
Go to all my models
Junior Member
Hi. I've searched far and wide but am unable to find a solution to my problem. I've created an object in FreeCAD, exported it to an STL, imported that into Blender to scale the object correctly, and then exported again to STL to be uploaded to Shapeways. I've come to realize that what I do in FreeCAD is only setting the model up to be the exact size and proportions I need.

The object, based on a cylinder, has facets showing on the inner and outer part of the cylinder. I've tried many of the smoothing techniques but none seem to reduce the number of facets, but rather deform the object. It doesn't have to be perfect, but needs to have more roundness to it. I know it can be done as all of these beautiful curved pieced I see in the market must have been done.

I've attached an STL of a simple ring created in FreeCAD that I've tried to update in Blender. Any help on a technique to do this would be much appreciated. Note, I've scaled this in blender to be 22.8mm x 22.8mm x 4mm. It's pretty small.

Thanks in advance.

Re: Blender, facets, and STL imports [message #42771 is a reply to message #42762 ] Thu, 26 January 2012 03:41 UTC Go to previous messageGo to next message
avatar Fredd  is currently offline Fredd
Messages: 350
Registered: November 2011
Go to all my models
Senior Member
Smoothing never effects the topology of the mesh. Its a cheap effect for renders. 3D printers idea of smoothness relies on the angle size between adjacent faces.
In Blender subdividing the mesh helps in the final result. Smaller quads the printer likes. You could experiment with the subdivision mod in Blender


Have any questions regarding Blender, and need fast answers, you are always welcome at the IRC Server Freenode, channel #blender. As a bonus, several there have experience in modelling for 3D prints.

Keith
Re: Blender, facets, and STL imports [message #42774 is a reply to message #42771 ] Thu, 26 January 2012 04:20 UTC Go to previous messageGo to next message
avatar mcgski  is currently offline mcgski
Messages: 5
Registered: January 2012
Go to all my models
Junior Member
Thanks for your reply.

I've tried subdividing but those facets are just divided. The angles between facets on the inner circle aren't changed which led me to believe it would be printed that way.

So are you saying all I need to do is subdivide the model in Blender a few more times to make the final product more smooth in real life?
Re: Blender, facets, and STL imports [message #42781 is a reply to message #42774 ] Thu, 26 January 2012 06:21 UTC Go to previous messageGo to next message
avatar Dragoman  is currently offline Dragoman
Messages: 173
Registered: August 2011
Go to my shop
Senior Member
Simply subdividing the faces is not enough. If you subdivide a face, the two new pieces lie flat in the place where the old one was and will print the same.

You will have to pull the new edges out a bit so that they are in the proper radius of the cylinder. This is best done by selecting them all at once (only the new edges!) and using the scale manipulators to get the right diameter.
This can be tedious and may not be very precise.

I find it often easier to create a new cylinder from scratch with the right number of edges.

The rendering of the model on the Shapeways site always show sharp edges. They will print smoothly if the edges closer together than the resolution of the printer. If you make your edges less than 0.1 millimeter apart, you should get a smooth surface.

Greetings
Karl Heinz
Re: Blender, facets, and STL imports [message #42917 is a reply to message #42781 ] Fri, 27 January 2012 20:46 UTC Go to previous messageGo to next message
avatar JACANT  is currently offline JACANT
Messages: 596
Registered: July 2011
Go to my shop
Senior Member
If you open 'Meshes' - 'Regular Solid' you can choose the shape required. type in sizes and choose the sampling. A higher number will give you a finer mesh.
index.php?t=getfile&id=13960&private=0

  • Attachment: sampling.png
    (Size: 58.09KB, Downloaded 531 time(s))


jacantdesign@gmail.com
Re: Blender, facets, and STL imports [message #42925 is a reply to message #42917 ] Fri, 27 January 2012 21:33 UTC Go to previous messageGo to next message
avatar mcgski  is currently offline mcgski
Messages: 5
Registered: January 2012
Go to all my models
Junior Member
@JACANT, thanks for the info.

I wasn't able to find this in the Add/Meshes menu. I was able to find a add-on for regular solids but not with the options you show. I'm using Blender 2.61 as well.

I also am trying to modify an existing mesh that I've imported from FreeCAD as an STL. Ideally, taking what Dragoman suggested and subdividing, then pulling the new edges out is the only way I can see this working.
Re: Blender, facets, and STL imports [message #42935 is a reply to message #42762 ] Fri, 27 January 2012 22:43 UTC Go to previous messageGo to next message
avatar aeron203  is currently offline aeron203
Messages: 449
Registered: July 2008
Go to my shop
Senior Member
Lots of good solutions here, but since you are using a solid modeler you can do even better. The mesh subdivision sampling parameter Jacant refers to only applies to mesh entities.

FreeCAD has a fillet operation (for solids). For everyone elses benefit I'll describe the modeling of the ring: Start with a circle sketch at your internal radius. Use grid snap and define the relation to lock it in exactly. Draw another circle and define the radius as 2mm thicker. In my example I used 10 then 12 for just over US size 10.

Use the Pad command to extrude the sketch to 4 or 5 mm thick, then select all four edges and use the Fillet command to round the edges with a value of around .75mm. In FreeCAD your ring will look like this:

http://img29.imageshack.us/img29/6979/filletedsolidring.png

The output mesh will be very nice, but if you want finer facets, try running Meshlab's Midpoint Subdivision Filter with 1 iteration and a threshold of 0, then apply the HC Laplacian Smooth filter twice. Repeat those steps and you will have a mesh that screams Quality at the top of it's lungs.

http://img252.imageshack.us/img252/9695/subdividedring.png

EDIT: I've attached the example ring for you.

[Updated on: Sat, 28 January 2012 18:26 UTC]


Aaron - 40westdesigns.com/blog
Re: Blender, facets, and STL imports [message #43004 is a reply to message #42935 ] Sat, 28 January 2012 23:11 UTC Go to previous message
avatar mcgski  is currently offline mcgski
Messages: 5
Registered: January 2012
Go to all my models
Junior Member
@aeron203,

This looks like exactly what I want, but....

I'm unable to reproduce your steps. I created the ring just as you described in FreeCAD (see snapshot below). Notice I have more facets than your picture. That being said, I understand there's a difference between what's rendered and the STL file. I exported the file as an STL.

index.php?t=getfile&id=14002&private=0

This is the first I've used Meshlab so I'm a bit of a noob here. I brought the STL exported from FreeCAD into Meshlab (v1.30a) onto my Mac, selected the ring faces, ran the subdivide and smooth filter per your instructions and got the attached image. Not quite the same. Seems like there was no change.

index.php?t=getfile&id=14004&private=0

Again, I'm feeling like I'm missing something and it may be what I'm doing in FreeCAD or the export process.


EDIT: I think I just figured out what I did wrong. Before doing a selection in Meshlab, I needed to select "Flat line" in the icon menu to show all outer edges on my ring. I then did an "Filter/Selection/Select All" before following your steps. I was able to see the subdivide and the smooth operations.

Here's the final in Blender:

index.php?t=getfile&id=14005&private=0

Thanks again for your help!!

[Updated on: Sat, 28 January 2012 23:34 UTC]


 
   
Previous Topic:Ring turning into solid?
Next Topic:human form mesh

Logo

Hello.

We're sorry to inform you that we no longer support this browser and can't confirm that everything will work as expected. For the best Shapeways experience, please use one of the following browsers:

Click anywhere outside this window to continue.