Results 1 to 3 of 3

Thread: Weight and Centroid of Solids and Blocks (with solids in them)

  1. #1
    Past Vice President / AUGI Volunteer peter's Avatar
    Join Date
    2000-09
    Location
    Honolulu HI
    Posts
    1,133
    Login to Give a bone
    0

    Default Weight and Centroid of Solids and Blocks (with solids in them)

    It always amazes me what gets left out of AutoCAD.

    Like we have materials, but we don't have densities.

    490 pcf for steel for example.

    Sometimes it is good to know how much something weighs... right?

    Attached you will find a lisp routine called "centroid" and a sample drawing called centroidtest.

    If any of you are interested, could you CRASH test it for me?

    You can add densities to material objects in the materials table.

    If you select items (blocks or solids) it will find the total weight and the centroid.

    P=

    PS.. Found a minor bug, and re-uploaded the zip file.
    Attached Files Attached Files
    Last edited by peter; 2015-09-01 at 07:47 PM.
    AutomateCAD

  2. #2
    AUGI Addict
    Join Date
    2015-12
    Posts
    2,095
    Login to Give a bone
    0

    Default Re: Weight and Centroid of Solids and Blocks (with solids in them)

    No time to test that, but one gotcha: make sure it works on objects waaaaay out in WCS space.

  3. #3
    Past Vice President / AUGI Volunteer peter's Avatar
    Join Date
    2000-09
    Location
    Honolulu HI
    Posts
    1,133
    Login to Give a bone
    0

    Default Re: Weight and Centroid of Solids and Blocks (with solids in them)

    AutoCAD is not accurate far from the origin (No double precision)

    P=
    AutomateCAD

Similar Threads

  1. 2014: Microstation Solids to Autocad Solids
    By boyerd492098 in forum AutoCAD General
    Replies: 3
    Last Post: 2014-05-28, 05:14 PM
  2. Stretching 3D Solids
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2006-04-12, 03:51 PM
  3. 3d solids
    By STEVE.TAYLOR in forum AutoCAD Wish List
    Replies: 1
    Last Post: 2004-09-21, 07:53 PM
  4. 3d solids
    By STEVE.TAYLOR in forum Revit Architecture - Wish List
    Replies: 1
    Last Post: 2004-09-13, 02:00 PM
  5. yes/no for solids
    By Martin P in forum Revit Architecture - Families
    Replies: 2
    Last Post: 2004-06-23, 04:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •