Curves workbench
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: Curves workbench
Understood. And I figure out a double "solid feature" can correct the shell.
Re: Curves workbench
Hi,
I am trying to reverse engineer some surfaces from scanned data.
I use Blender to extract specific faces from the full scan.
I want to use FreeCAD to fit a surface to a point cloud generated from STL. The reverse engineering WB does not generate results that fit the point set well.
What would be a good way to use this WB to generate surfaces for the point set?
I attached the file I am using for testing.
Thanks to anyone who answers!
I am trying to reverse engineer some surfaces from scanned data.
I use Blender to extract specific faces from the full scan.
I want to use FreeCAD to fit a surface to a point cloud generated from STL. The reverse engineering WB does not generate results that fit the point set well.
What would be a good way to use this WB to generate surfaces for the point set?
I attached the file I am using for testing.
Thanks to anyone who answers!
- Attachments
-
- TestSection.stl
- Use points WB or part to points
- (490.71 KiB) Downloaded 54 times
Re: Curves workbench
Hi,
First, you cannot use tools from Curves WB, since they only work on grids of points (points sorted in rows and columns).
However I get a rather simple BSpline surface that seems to fit your points pretty well with the Reverse Engineering WB :
You can tweak the settings further and see if it can fit your needs.
Then, it is probably possible to approximate the boundary points with curves, and use them to trim the surface.
First, you cannot use tools from Curves WB, since they only work on grids of points (points sorted in rows and columns).
However I get a rather simple BSpline surface that seems to fit your points pretty well with the Reverse Engineering WB :
You can tweak the settings further and see if it can fit your needs.
Then, it is probably possible to approximate the boundary points with curves, and use them to trim the surface.
- Attachments
-
- point-cloud-approx.FCStd
- (274.41 KiB) Downloaded 58 times
Re: Curves workbench
I see, thanks for showing me I can get results with the Reverse Engineering WB. I'll try that again and try trimming like you said.Chris_G wrote: ↑Sun Nov 21, 2021 8:48 am Hi,
First, you cannot use tools from Curves WB, since they only work on grids of points (points sorted in rows and columns).
However I get a rather simple BSpline surface that seems to fit your points pretty well with the Reverse Engineering WB :
rev-eng-point-cloud.jpg
You can tweak the settings further and see if it can fit your needs.
Then, it is probably possible to approximate the boundary points with curves, and use them to trim the surface.
However, do you think it would be possible to use sections from the Mesh WB cut over the entire entire mesh with your WB? The sections contain edges that have non-smooth linear lines one after another, but what if B-Splines from your WB were fit to the points contained in the edge/section?
Re: Curves workbench
I am making a tutorial based on your mesh.
Here is a quick result (may not be optimal)
Here is a quick result (may not be optimal)
- Attachments
-
- point-cloud-approx.FCStd
- (423.29 KiB) Downloaded 47 times
Re: Curves workbench
Well then, you might be interested to know where the mesh comes from.
I am working on making a valid CAD model of a Nintendo GameCube controller. I've wanted to do this for a while but never had good data to base the model off of (I even tried photogrammetry to get mesh data from a controller).
Thankfully, a user on another forum got pretty good scans of the controller: https://bitbuilt.net/forums/index.php?t ... scan.3844/. I am using the scanned mesh data to extract specific faces that should be contained in each CAD surface - this has to be done by eye and by hand.
The test section I posted here is from the top of the left handle.
Re: Curves workbench
With the help of the Surface wb you have another option to create surfaces on a mesh. There you will find a function Curve on mesh that allows you to project a polygon on a mesh. With this tool you can create many small quadrangles and then with the filling function you can create the surfaces from the boundary edges.I want to use FreeCAD to fit a surface to a point cloud generated from STL. The reverse engineering WB does not generate results that fit the point set well.
However, it's a huge click work to get it done.
Re: Curves workbench
Right, I tried that too but like you said, it takes a while. Also, If I used that tool I'll likely end up with jagged edges because it is near impossible to nicely by hand.wmayer wrote: ↑Sun Nov 21, 2021 8:54 pmWith the help of the Surface wb you have another option to create surfaces on a mesh. There you will find a function Curve on mesh that allows you to project a polygon on a mesh. With this tool you can create many small quadrangles and then with the filling function you can create the surfaces from the boundary edges.I want to use FreeCAD to fit a surface to a point cloud generated from STL. The reverse engineering WB does not generate results that fit the point set well.
However, it's a huge click work to get it done.
Re: Curves workbench
Aaah, Mario Kart Double Dash ! I am sad they didn't push the co-op concept further in the following games.
I still have the console. My son played it a few days ago !
I"ll try to finish the tutorial, with the trimming part, tomorrow.
Re: Curves workbench
hi,
I'm trying to get a smooth curve between too curves. But I stuck here.
The curve must have the slope only on Z.
How to do that?
...
PS: I have just changed my nickname.
I'm trying to get a smooth curve between too curves. But I stuck here.
The curve must have the slope only on Z.
How to do that?
...
PS: I have just changed my nickname.
- Attachments
-
- slope.FCStd
- (12.2 KiB) Downloaded 49 times
-
- Capture.JPG (10.23 KiB) Viewed 2460 times