What's new

Is it a workflow for 3D scan to a Alibre file?

lgrfbs

Member
Hello forum.
I have a Rivopoint POP2 3D scanner (have owned it for a few years now), fun to create projects in with the following software.
Feel it should be used more and for better things than just testing and playing, sort of.

Right now I'm scanning a sink to see what the support position should look like, so the file of the sink needs to have the same capabilities as a normal CAD file in Alibre, or as close as possible.

Is there anyone here who has come up with a good working order to scan an object to after a number of steps come from to a file that Alibre Design can handle?
 

tyc

Senior Member
I'm not going to speculate, but Alibre doesn't have tools to make working with 3D scan data any easier.

I have used the Einstar 3D scanner a couple of times. My main objective was to obtain a scan of a machinery part and then compare the scan with the 3D model. I have learned a little bit about the fundamentals of 3D scanning while wrestling with this task.

I assume you have created a mesh after scanning and patched the holes using the software that comes with the 3D scanner. You must have also figured out your global coordinate system. Finally, you should have ended up with a large tessellated scan data set, traditionally exported as an STL file.

Alibre cannot directly import STL files. Watertight STL models with a moderate number of triangles are more likely to be imported into Alibre after using STL to STP converters. You can use the stltostp executable (check on GitHub) or use FreeCAD for conversion.

Most likely, you are going to have a hard time converting and importing the raw STL file that you just exported from the 3D scanner's software. Therefore, in my opinion, the first step should be reducing the face count of the STL file. You can use Meshmixer for that. There may be other options out there, but I'm not familiar with any others. You will need to find a good balance between precision/detail and manageable triangle count.

I found the following scan on the internet:
It has 630,145 triangles. I remeshed and reduced the count using Meshmixer; see how the original and reduced files look below:

reduced_scan.jpg

You could also trim the areas that are not of interest. In this double sink, we could possibly trim half of it if we know it is symmetric, and we could potentially get rid of the legs as well. That would bring the triangle count down to just shy of 50k.

Imported Alibre.png

From here, you can start creating planes, then draw sketches on these planes, and finally reconstruct the geometry using Alibre's standard tools.

I believe there is much more to discover, and it requires patience and passion. Reverse engineering is a huge topic.
I hope this gives you some direction, and hopefully, I can learn from others who might have a better approach out there. Thank you for this thread.
 

stepalibre

Alibre Super User
I recently brought a M4 mac Mini and iPad. The iPad has a lidar scanner I'll use to get started. I forked the Meshmixer Python API and made basic processing scripts to and from STEP and STL,OBJ. MoI3d API handles more conversions 3dm and SAT to STEP, OBJ, STL. The version of Meshmixer the API was built for is Python 2.7 I need Py3.
If you want a CLI version of Meshmixer -> https://github.com/stephensmitchell/mm-api
 

UGMENTALCASE

Senior Member

These guys have updated their point cloud to xnurbs software with scanned data to primitive, planes, cylinders etc, and drawings on a surface to create xnurbs patches, it's mega! Especially for the money
 

lgrfbs

Member
I assume you have created a mesh after scanning and patched the holes using the software that comes with the 3D scanner. You must have also figured out your global coordinate system. Finally, you should have ended up with a large tessellated scan data set, traditionally exported as an STL file.
Yes, that's pretty much right.

I believe there is much more to discover, and it requires patience and passion. Reverse engineering is a huge topic.
I hope this gives you some direction, and hopefully, I can learn from others who might have a better approach out there. Thank you for this thread.
Thanks, hope the thread becomes a good source for this kind of work.

This is my sink that I want to recreate in Alibre.
20250112_202535.jpg
The orange tape is regular duct tape, which turned out to work fine in my 3D scanner.

Thanks for all the replies, will read it more thoroughly a bit later.
 

tyc

Senior Member
Resurf looks promising. Thanks to @UGMENTALCASE for pointing it out. Isn't the Rhino most versatile CAD package.It is amazing to see the vast capabilities of it. It is almost turning up everywhere when I consider surface modeling and reverse engineering kinds of subjects. :)
 

Stu3d

Senior Member
This mesh to STEP software was recommended a while back although not tried it myself yet. It has a free trial and is very reasonably priced including a perpetual license option.

I too have a POP2, also Mini and Range. None used as much as they should be which is why I didn't do the Kickstarter on the MetroX which looks amazing.
Revopoint now sell QuickSurface reverse engineering software, not cheap but a lot more affordable than the the top end programs out there.
 

UGMENTALCASE

Senior Member
Resurf looks promising. Thanks to @UGMENTALCASE for pointing it out. Isn't the Rhino most versatile CAD package.It is amazing to see the vast capabilities of it. It is almost turning up everywhere when I consider surface modeling and reverse engineering kinds of subjects. :)
I've only had a brief go with Rhino, I use Plasticity 3d now. But the software I mentioned is stand alone, no need to buy Rhino.
The other is instep, I have a license for it, but it's not been updated for some time. The surface drawing on Point Cloud to Nurbs is very similar to instep, though it just works better. Happy to provide a little video example if you like
 

lgrfbs

Member
Hmmm, QuickSurface was not quite in my price range but looks to be a good tool.

I've gotten this much done with my POP2 scanner before other things needed my time, will continue when a time slot comes by again.
Scan test of sink.png
Thanks for all the tips on ways to get a working procedure.
 

UGMENTALCASE

Senior Member
I've attached a few screen recordings for you. It is a little clunky in that when you select rotate, pan etc you move once, and then have to select again.
I forgot to keep my mouse pointer on whilst recording, but the selection is a basic left click to pick a point, right click to ok it.
Files are too large to attach so I've added them to my winzip share. I've got it to delete after 30 days
 
  • Like
Reactions: tyc

lgrfbs

Member
After 31merg of several scanned segments I got this model, not beautiful but it will have to do, because I'm tired of building patchwork of scanned segments right now.

Step 1; Scanning the sink I now consider to be done.
 

Attachments

  • Scan test of sink 2025-02-01_C.png
    Scan test of sink 2025-02-01_C.png
    379.5 KB · Views: 13

lgrfbs

Member
Step 2; Getting the model into Alibre.
Came across this Youtube video:
SEAMLESS 3D Model Importing into Alibre Design!

The script author is on this forum:
https://www.alibre.com/forum/index.php?threads/script-release-stl-import.21617/page-2

Downloaded the script and the support program, put the script into Alibre and everything worked.

This is the result of the script:
Scan test of sink 2025-02-01_E.png


Now I feel like I have a way to start using my 3D scanner a little more.

Lesson learnt: A scanner surface that is too small will give you a headache to the same degree times 2, so if possible choose a scanner that fits the object to be scanned.
 
Last edited:

lgrfbs

Member
Just to document for the next time I do this again.

Revo Scan was used to connect to the 3D scanner POP2 and to reload the STL file to remove ‘unnecessary’ triangles which reduces the file size of an exported STL file.
POP2 Scanner software.png

Yep, I know it's not the latest version of FreeCAD, but right now it works. Will upgrade some day in the future.
FreeCAD had to provide the service of rotating the STL file until the model was right in relation to the coordinate system.
FreeCAD0.21.png

Alibre Design with the support programme ‘stltostp.exe’ installed which the Python script: 'Import3' calls.
For me, STL files over 600 Kb didn't work as Alibre Design just hangs/stop responding at 21% of opened STP file.
AlibreDesign.png
I hereby consider this topic closed.
 
  • Like
Reactions: tyc
Top