6 Replies Latest reply on Jan 27, 2017 11:26 AM by Josh Brady

    Margin of precision errors in solidworks / µm ou nm??

    Kokou Adokanou

      Hello,

       

      I have a macro that allows me to draw a room (large square) with material removals (small squares) on specific coordinates.

      >Draw a square of 2.7x2.7mm² and an extrusion of 0.5mm

      >Take the coordinates of points (in the input file) then draw the small squares of 0,085mm of side.

       

      When I run the rectangle drawing command with the coordinates (x1, y1) and (x2, y2), I checked and it is the correct coordinate values that are sent by the macro to SW.

       

      Yet I have errors in the drawing for the components so the values (in absolute) are of the order of 0.0075mm and 0.0125mm.

      While it works fine with values greater than 0.0335mm.

       

      My questions

      1) How to remedy this?

      2) Is this a limitation on the precision between macro and SW?

       

      Attached files. "Input_file.txt"; "Macro.swp"; "Room.sldprt"   (SW2017 / VBA7)

       

      Thank you in advance for your return.