Closed Bill-XU closed 3 months ago
UPDATE
it seems that passing parameters without keywords succeeded.
from OCC.Core.BRepPrimAPI import BRepPrimAPI_MakeBox
from OCC.Core.gp import gp_Pnt
pnt = gp_Pnt(5.0, 5.0, 5.0)
BRepPrimAPI_MakeBox(pnt,10.0,20.0,30.0)
Hello,
I wanted to create a box at a start point. I thought that this can be done by calling BRepPrimAPI_MakeBox with arguments P, dx, dy, dz.
But when I executed the code below,
an error occurred.
I saw comments for this usage, and double checked OCCT specs. The usage of 'P' should be fine.
Parameters P: gp_Pnt dx: float dy: float dz: float
Return None
Description Make a box with a corner at p and size dx, dy, dz.
How can I resolve this error?
Best regards, Bill