Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Is there an easy way to fix an imported model that has faults?
S_Regula
Member Posts: 95 PRO
Hi All,
I have imported a model that includes this shaft which OS is saying has faults. When I cut a section view, I see the red area that is the culprit. Is there an easy way to fix this? I can use the part in another assembly, but it will show up as red in the instance list, and because I'm kind of particular about my assemblies not containing any errors, I would prefer to fix it if there's an easy way to do so.
I've tried the "export to ACIS and re-import" workaround, but it still shows up as faulty when I bring it back in as that file type. TIA!


I have imported a model that includes this shaft which OS is saying has faults. When I cut a section view, I see the red area that is the culprit. Is there an easy way to fix this? I can use the part in another assembly, but it will show up as red in the instance list, and because I'm kind of particular about my assemblies not containing any errors, I would prefer to fix it if there's an easy way to do so.
I've tried the "export to ACIS and re-import" workaround, but it still shows up as faulty when I bring it back in as that file type. TIA!


0
Answers
-
Are you sure that red section is the problem? That could just be another part which is coincident with the shaft, and showing as interfering. There may be an issue with the shaft somewhere else. Look very carefully at any fillets or very small surfaces.
Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn
0 -
Hard to tell without seeing the model, not sure the red bit is the problem though... can you share a link?
Does it show several solids (looks like it's creating at least one)?
This will probably take some delete/relace body/faces...0 -
Here is a bit of code that I find helpful at times. I forget who gave it to me
. FeatureScript 1660;import(path : "onshape/std/geometry.fs", version : "1660.0");annotation { "Feature Type Name" : "Find Laminar Edges" }export const myFeature = defineFeature(function(context is Context, id is Id, definition is map)precondition{annotation { "Name" : "Select surface", "Filter" : EntityType.BODY && BodyType.SHEET }definition.surfaces is Query;}{debug(context, qEdgeTopologyFilter(qOwnedByBody(definition.surfaces, EntityType.EDGE), EdgeTopology.LAMINAR));});0 -
@wayne_sauderHow is this different from the built in "Highlight boundary edges" command on the view menu?
Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn
0 -
For something that is not too important with import errors (i.e. some fitting like a lock) where I just wanted to lose the red feature I created a big block around the imported item and did a boolean subtract of item from block. I then deleted item and created another block and did a boolean subtract of block 1 from block 2 - this left an item shaped object which was not red.This is kind of a terrible workaround but it did remove the red...0
-
I'm 99% sure that's the problem. When I hide the shaft, there is no part overlapping itS1mon said:Are you sure that red section is the problem? That could just be another part which is coincident with the shaft, and showing as interfering. There may be an issue with the shaft somewhere else. Look very carefully at any fillets or very small surfaces.0 -
@S1mon
Good point, I'm not sure it is any different. I think if I remember right I got the code from support some years ago when I was trying to fix a import that was really bad. Not sure if the tool "Highlight boundary edges" was around then or not?0 -
@S_RegulaI would first try getting a STEP file to re-import. It’s generally the most robust neutral format (after Parasolid). If that red bit is somehow part of the same body, it sounds like it’s creating the volume twice in the part. I would also try the other import options to create separate part studios. I would also report this to support. It sounds like an import bug.
Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn
0 -
If you re-import, but select different options in the import dialog, you should get different results. It may not solve the issue, but it will be different. I normally don’t use it, but in this case I would try “split into multiple documents” and see if that helps.
Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn
0



