Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decomposition of solid with B-spline surfaces #10

Open
tzw28 opened this issue Apr 17, 2023 · 2 comments
Open

Decomposition of solid with B-spline surfaces #10

tzw28 opened this issue Apr 17, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@tzw28
Copy link

tzw28 commented Apr 17, 2023

I successfully run decompositon process on the example file "SS_-793e-2.stp" and the result looks good. But when I try to run McCad.exe to decompose a model in a STEP file which is generated by SOLIDWORKS, I get the result as blow:

 > Decomposing 1 shape(s) from the input STEP file(s)
    -- The current verion doesn't support processing of surfaces of type B-spline surface. Solid will be rejected!
 > Results:
   - Decomposition failed for 1 input shape(s).
   - Decomposition succeeded for 0 input shape(s).

Here are some questions:

  1. Did I use a version of McCad that too old to handle B-spline surfaces or it is just not configured properly?
  2. What CAD software you used to make exampe file "SS_-793e-2.stp"?
@moatazharb
Copy link
Member

  • Spline surfaces support in McCAD is yet to be introduced! Currently the supported surfaces include planes, cylinders, cones, and tori.
  • I usually use SpaceClaim to detect any spline surfaces and try to clean it out. I assume similar tools should be available in SOLIDWORKS. McCAD geometry engine, Open CASCADE is what detects surfaces types.
  • If you want to only detect what surfaces exist before going for decomposition, you can try running McCAD in "read" mode, by typing "McCAD read" in a command prompt. This will list on the prompt the surfaces that exist in the mode. You can then check if there are any other surfaces than the supported ones so that it could be simplified before proceeding with decomposition.

@moatazharb moatazharb added the enhancement New feature or request label Apr 18, 2023
@tzw28
Copy link
Author

tzw28 commented Apr 20, 2023

I tried SpaceClaim and it works well on surface type detecting. Thank you for your reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants