SolveSpace Logo SOLVESPACE -- parametric 2d/3d CAD
Examples
Tutorials
Features
Download
Reference
Technology
Library
Forum
Contact
USER FORUM

(you are viewing a thread; or go back to list of threads)

slvs file format (by Hugo)
Hello,

In my workflow I generate step-files using VBA-scripts.
These stepfiles contain only static cartesian points, defining flat faces.
(Only flat faces (planes), no curved faces.)
I then use a stepfile-viewer to check and explore the generated 3D-models.

A basic example would be a face defined by 4 3D-points:
points:
p1(0,0,0)
p2(100,0,0)
p3(100,100,100)
p4(0,100,100)
edges:
edge1:p1,p2
edge2:p2,p3
edge3:p3,p4
edge4:p4,p1

I read about solvespace.
As far as I know it does not import stp-files.


The question:
Would it be possible to generate a .slvs file, only using
static coordinates to define flat faces?
Is there a 'basic' description of the slvs file-format available?

Or is the .slvs file format only suitable to define points and faces using constraints?


Kind regards,
Hugo
Mon May 1 2023, 04:21:45
(no subject) (by Paul)
You might try generating .STL files which are usually used for 3d printing. The "link" option can be used to bring these into Solvespace. This only works with the binary version of stl, not the text one. It's very easy to write, but your faces will need to be split into triangles.
Mon May 1 2023, 07:05:08
(no subject) (by Hugo)
Thanks for the tip, but i'd rather not use stl.
The triangulation would make the model look less clear.

Have you got any info on the slvs-format?

Kind regards,
Hugo
Mon May 1 2023, 08:11:08
(no subject) (by Paul)
Slvs files contain the construction history of the model, meaning the steps used to create it. They may also contain the NURBS shell and triangle mesh, but that's just so it doesn't have to regenerate them - that's my understanding anyway. So no, it's not a 3d object format and I'm not sure if we could trick it into being one.

What would solvespace bring to your usage that the step viewer does not?
Mon May 1 2023, 11:07:42
(no subject) (by Hugo)
Solvespace would not really be a gamechanger for my usage, but I was attracted to it because of the small single exe-file, and it's interface.
Nice work!
Mon May 1 2023, 18:05:52
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2022 SolveSpace contributors. Most recent update June 2 2022.