For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

cutting a 3d solid volume acts incorrectly

ardalan nejat's picture
Forums: 

Dear All,

I am trying to cut a 3d solid shaped like a wedge by a cylinder(put a hole in it) and have the remaining wedge as a 3d solid so that I can export in ABAQUS using brepiges command in DRAW. However I got two problems:

1- cutting the 3d wedge by the cylinder result me some SURFACEs which is not satisfactory for my simulation. I want a single 3d solid wedge with hole's place extracted out.

2- using brepiges command to produce the step file, results in ambiguous shape when I import in ABAQUS. Though, I got the shape correctly in the DRAW viewer. (attached images)

here is the complete set of code:

clear
polyline 0 0 0 0 1 0 0 1 1 0 0 0
polyline pl 0 0 0 0 1 0 0 1 1 0 0 0
mkplane plane1 pl
prism vol plane1 1 0 0
pcylinder cy .25 .5
trotate cy 0 0 0 1 0 0 -90
ttranslat cy .5 .5 .5
ttranslate cy 0 -.25 0
bop vol cy
bopcut cutted
brepiges cutted $dir/cutted.iges