STEP import

I’m having trouble finding the email address. The receipt was mailed by noreply@customers.gumroad.com

According to Gumroad you should be directly able to reply to the receipt email https://customers.gumroad.com/article/204-get-to-know-your-gumroad-receipt

Ah okay, I see it now.

I can confirm that the issue is fixed for me, thanks again!

1 Like

ambi, will the STEPper work under Win7?
Thanks,
Nick

I got it working on Linux. It’s a bit involved though (Ubuntu) based:

  • Get linux-64/pythonocc-core-7.4.1-py37h2700f40_0.tar.bz2 from https://anaconda.org/conda-forge/pythonocc-core/files
  • Install the 1.0 version of STEPper into Blender 2.92 in Linux, but don’t enable it
  • Inside the Blender addon folder, replace the OCC folder with the one from the downloaded conda-forge archive
  • Install occt-draw version 7.4 from apt, as it will also pull all the required libraries for the addon.
    I’m using Linux Mint, so I had to add deb http://archive.ubuntu.com/ubuntu/ groovy main restricted universe multiverse into additional repositories in software sources, then use sudo apt-get install -t groovy occt-draw make sure it’s version 7.4+

Not going to take responsibility of horribly breaking your system :wink:
Python versions have to match. The required OCC version must be 7.4.

This is probably as simple as it’s ever going to get, unless I’m going to compile a fat executable at some point in the future, which is unlikely.

@rally037 It might, but there’s no support for it. As far as I know both Blender and Microsoft have stopped (or will soon) updates. You will probably get missing DLLs (don’t work).

Cheers ambi, much appreciated.

Late, reply, but yes, if you work with manufacturers they usually supply you with STEP files. You can check some of my own models here:
https://www.artstation.com/artwork/3dbO9J

1 Like

Hello Ambi,

I’m having issues with some of the .stp files that I import. Most files work just fine but some cause blender to crash without any error log. Today I got a file for a machine that imported just fine but had overlapping objects that were difficult to find and remove. So they send a new version that has those duplicates removed already but now it crashes on import.

I would love to send the .stp files but I can’t share them due to an NDA contract.

Any idea what could cause blender to crash?

Hi,

There’s an issue where sometimes foreign language characters or corrupted data causes problems. However I haven’t been able to find any of these kinds of files that cause the issue so I can’t debug it. If you can somehow create a file that you can send me that causes that kind of a crash, that would be much appreciated.

You can check the console by first opening the Windows terminal (cmd) and then running Blender from there. That should show you at least what happens before the crash.

We also still use 3ds max and that one has no issue with importing the .stp files so it probably isn’t corrupt. When you say language it might be settings for decimals. I can understand that issues arrive when the program expects a , but gets a .

This isn’t the first time I’ve had the issue but it is the first where I have 2 files of nearly the same model where one works and one doesn’t. Sadly I can’t share them.

I’ve tried opening blender with CMD and Powershell but in both cases nothing happened when it crashed. I’m not experienced with cmd so I might be missing something.

Really nice Addon!
I bought it to import some vehicle data to blender and it worked very well.

I have a question or a feature request.
Would it be possible to read in curves and convert them to Blender curves?

We often import textile seams and would need curves for this in Blender.

Ambi you’re a deadset legend, thank you for this plugin. The hurdles in my workflow (colour and ability to reload without losing modified materials) look to be solved in the current alpha version, will provide test cases if I see any hassles. Again: thank you!

One workflow issue that’s coming up with the alpha version is (of course) colour/material mapping.

I like the way you’ve created the materials with the COLOUR_RGB tags and I’m sad that there is no carry-through in STEP AP214 for material names etc. But, unless I’m missing some super easy thing in Blender, it causes a problem on reload.

I import a STEP file. I want to reassign materials to things I have in a library. Which I can do by going through, object by object (or partial mesh by partial mesh if I have multiple colours assigned per object) and assigning my library material to selected.

But then I reload the STEP file and rebuild - and all of that new assignment work is gone.

Before I start looking at ways of defining material mappings from STEP_rrggbb to xyz and having a script run through every time I rebuild, do you already know an easy way to do this (or have something planned)?

Cheers!

2 Likes

That is definitely a solid idea. I’m including it in the plan.

2 Likes

Hey ambi, I love this addon because I’m able to import higher quality step files than ever before. I’m having a problem though where seperate parts are all combined in the import and it’s nearly impossible to break them apart again. Do you have any insight into this? Thank you so much.

Hi Ambi, wanted to say thank you for this addon, I was so excited when I learned about it and it has helped bridge a large gap for me!

I have a troubleshooting question for you on an issue I’m experiencing while trying to import a new step file. I have imported many files previously(some much larger) and have been using the addon with no problem for some time, but this particular step file is causing blender to immediately close/crash once the import has begun. The crash log is giving me the following:

ExceptionCode : EXCEPTION_ACCESS_VIOLATION
Exception Address : 0x00007FF86C0BF536
Exception Module : TKernel.dll
Exception Flags : 0x00000000
Exception Parameters : 0x2
Parameters[0] : 0x0000000000000000
Parameters[1] : 0x0000000000000000

I’ve been searching for a resolution trying different things but haven’t had any luck. I’m not very fluent in this sort of troubleshooting. Apologies if the error is obvious.

Thanks so much in advance for any attention to this.

Ambi,

Was just reading the messages from above about the file potentially containing foreign language characters and causing an issue. That may be an explanation of my problem above. Previous step files of mine were coming from an English studio and the file I’m having a problem with originated from the English design studio but was modified by a foreign non-English manufacturer.

Hi Ambi - issue with colours.

The attached STEP file is a cube, with the body assigned one colour and one face assigned another.

The stable version of STEPper on Blender 2.92 imports the shape but no materials are assigned.

The alpha version imports the coloured face but ignores or loses the rest of the body.

A nice simple one to add to your test suite!

cube.STEP (16.4 KB)

This feels like a very technical term to expose end-users to. Industry standard is “tolerance”. Would you consider changing it?

You probably already know that colors in STEP files come in two flavors: Body/object colors and face colors. Only with version 7 did Rhino from McNeel start supporting face colors, so it would be totally reasonable to start out by only supporting full object colors. :slight_smile:

If it matters I’d like to add my vote to that as well. Re-importing and updating happens all the time for people who are rendering something being developed from an early stage. That workflow needs to be robust and efficient.