Software modeling

From Fat Cat Fab Lab
Revision as of 13:50, 9 September 2022 by Vexcarbon3d (talk | contribs) (Modeling of 3D parts and objects, using various software programs or programming)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Import STL into Blender

Overview

This section goes over how to load an .STL file into Blender, for viewing. There is also an edit mode to begin making changes.

Steps
  • Launch blender on its own, without specifying any additional file name.
  • Escape the splash logo
  • Left-click on the default cube and press the Delete key to clear it
  • Select the File menu, then Import
  • Select Stl (.stl)
  • Check the Bookmarks area and click on your folder shortcut (or add the Bookmark here)
  • Click on a sample .stl file in your folder. You can use the sample hypocycloid.stl
Navigating

Navigating the model in Blender is straightforward. Hold the middle mouse button down and move the mouse to rotate the view.

Use the scroll wheel on the mouse to zoom in and out. Additionally some of the numeric keys (check the numlock) will change views. It is also helpful to check the full list of keyboard shortcuts for Blender.

Editing the model

(More advanced) At the top left, change from Object mode to Edit mode and you'll be able to select vertices, faces, and edges. Links

Blender keyboard shortcuts

Other Programs and File Formats

Software programs
  • Meshlab - view, repair, or adjust a mesh
  • Freecad
  • Fusion 360
File formats and alternatives
  • STEP format for 2D and 3D (may require some repair)
  • Use or create plugins with an API
Create your STL model programmatically (Python, C, etc)

STL is a 3D format which is essentially a set of triangles. If you are just working with a set of 2D points, you can use the STEP format to import/export between programs. Alternatively to STEP format you could still use STL, if working programmatically you could:

  • Extend your (spline, etc) or set of 2D points with a Z offset and then stitch together a set of triangles.
  • Use the .STL file format to describe your triangles
  • Import into your software application (Blender, Fusion 360, Meshlab, Freecad, etc)
  • Use the triangles as is, or just highlight the needed vertices in 2D and work with those.
C example

// ===== Python example =====