Welcome Guest.

1Answers

CAD BW minimum bounding box plug-in command Display 2D point 3D point error Where is the problem

Asked by: Betty Powell 134 views Software October 12, 2020

CAD BW minimum bounding box plug-in command Display 2D point 3D point error Where is the problem

1 Answers

  1. +8Votes  

    Is the step wrong? A bounding box-based region generation method; it includes the following steps:
    1) Arrangement plan structure of large sheet metal area
    Draw a schematic diagram of the planar distribution of the sheet metal parts through the CAD composition software, and save the schematic diagram of the planar distribution to the computer disk;
    2) Retrieving CAD files
    Open the plane distribution diagram saved in step 1) in the rhino software;
    3) Interrupt processing of plane graphics
    After frame selection of all the curves in the plane distribution diagram, each curve is interrupted;
    4) Filter processing of the plan line
    Intersect all the curves that have been interrupted in step 3) in pairs. If there is at most one same intersection point between a curve and all other curves, then filter the curve;
    5) Generation of bounding box

    The specific steps are as follows:
    (5.1) Find the bounding box for each curve of all the remaining curves after filtering in step 4);
    (5.2) Combine all the bounding boxes obtained in step (5.1) to obtain a bounding box covering all areas;
    (5.3) Generate a rectangular area from the four corners of the bounding box obtained in step (5.2);
    6) Cut the rectangular area generated in step (5.3) with all the remaining curves after filtering in step 4) to obtain a set of areas;
    7) Output the generated area.
    Preferably, in step 1), a basic composition unit command is used to outline a plane distribution diagram of a sheet metal component composed of a large number of curves, and the plane distribution diagram includes the arrangement position and the plane figure of each sheet metal component in a large area .
    Preferably, the basic composition unit command in step 1) includes a curve.
    Preferably, in step 3), after frame selection of all the curves in the plane distribution diagram, all the curves are intersected in pairs, and the parameter value of each curve intersecting with all the other curves is used as the interruption condition, and each The curve is interrupted.
    Preferably, between the area output in step 7), there is a step of filtering the area, and the specific steps are as follows:
    (a) Set the maximum distance of the seam as the discrimination parameter, and execute the for loop to filter all the areas generated in step 6);
    (b) Judge all the remaining areas filtered in step (a), compare the outer edge of each area with the curve set generated in step 4), as long as there is any outer edge of the area and step 4) If each of the generated curve sets is not equal, filter this area.

    Roger- October 13, 2020 |