bolsover
Alibre Super User
How to convert .stl to .stp?
I've seen this topic come up several times over the last few years so I finally decided to prepare an Add-on to (partially) solve the problem.
A complete new implementation.
Internally, the Add-on uses the well known Slugvev stltostp executable: https://github.com/slugdev/stltostp
This is the same solution others have applied using the scripting environment. I've just packaged it as an Add-on.
The source code and an initial executable to install the Add-on and standalone converter is available here:
Now at version 1.2
github.com
Updated to version 1.3
https://github.com/bolsover/AlibreImportStlAsStep/releases/tag/V1.3
Release version 2.0 - Complete rewrite in C# no longer using the slgdev code.
github.com
This version is significantly faster and produces smaller .stp files than the original
Release version 2.1 - now includes a Splitterator!!
github.com
Important
When installing Release version 2.0. You should first uninstall the earlier AlibreImportStlAsStep Add-on as this may conflict with the new release and cause a duplication of menu items.
The uninstaller should be found in the C:\Program Files\AlibreImportStlAsStep directory
Testing has been quite limited but it seems to work OK for smaller .stl files but the Slugvev stltostp executable clearly struggles with more complex designs and Alibre will likewise perform poorly when given a larger .stp!
As is usual with this type of Add-on, it is quite likely that anti virus measures will object to downloading/installing the raw executable. For this reason, I have wrapped the installation .exe in both .zip and .war in an effort to mitigate any download issues. As usual, it's up to you to trust the code or not either way, I welcome comments.
I've seen this topic come up several times over the last few years so I finally decided to prepare an Add-on to (partially) solve the problem.
A complete new implementation.
This is the same solution others have applied using the scripting environment. I've just packaged it as an Add-on.
The source code and an initial executable to install the Add-on and standalone converter is available here:
Release Version 1.2 · bolsover/AlibreImportStlAsStep
Updated to add a dialog for selection of input stl and ouput stp files. Also added spinner to set tolerance.
Updated to version 1.3
Release version 2.0 - Complete rewrite in C# no longer using the slgdev code.
Release Version 2.0 · bolsover/StlStpConverter
This is actually the first public release of a reworked (in C#) version of code originally by slugdev. It is significantly improved over the original in terms of performance and the size of resulta...
Release version 2.1 - now includes a Splitterator!!
Release Version 2.1 · bolsover/StlStpConverter
This version adds a new 'splitterator' feature that allows multi body .stl to be split to individual .stl. These individual .stl are then converted to .stp format.
Important
When installing Release version 2.0. You should first uninstall the earlier AlibreImportStlAsStep Add-on as this may conflict with the new release and cause a duplication of menu items.
The uninstaller should be found in the C:\Program Files\AlibreImportStlAsStep directory
As is usual with this type of Add-on, it is quite likely that anti virus measures will object to downloading/installing the raw executable. For this reason, I have wrapped the installation .exe in both .zip and .war in an effort to mitigate any download issues. As usual, it's up to you to trust the code or not either way, I welcome comments.
Last edited:

