PDA

View Full Version : English Density units in SolidDesigner 5.1


Mike Swartz
03-04-1998, 01:35 AM
Here's a workaround for you inch/pound users in SolidDesigner. Version 5.1 (and 5.11) will output mass in kilograms per centimeter when you are working in inches and pounds. Create a 1 inch cube with a density of 1. Measure the mass of that part. Take the result and place it in the factor part of mass units. For a more permanent work around, you can put it in your startup. units 36.127292: LB

Mike Swartz
03-13-1998, 03:26 AM
Here is more information on mass calculation. It seems parts created in inch units on SolidDesigner revisions prior to 5.1 will calculate correctly.

Fleet Hamilton
04-08-1998, 12:08 PM
CoCreate says this will be fixed in rev 6.0. In the meantime ... any part created with the correct density set as the default will measure correctly. The problem occurs when you change the density. Load the lisp routine below into SolidDesigner for a cooler fix. I'll issue an altered version of this after rev 6.0 arrives. Fleet Hamilton (in-package :VDSDEMO) (use-package :OLI) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (sd-defdialog 'density_change :dialog-title "ChgDensity" :dialog-control :parallel :variables '((PART :value-type :part :prompt-text "Pick the part to set matl props for" :multiple-items t ) (MATL :range ((2.81 :label "steel/sst = 2.81 lb/sq in") (.308 :label "brass = .308 lb/sq in") (.098 :label "aluminum = .098 lb/sq in") (.055 :label "delrin = .055 lb/sq in") (.050 :label "ertalyte = .050 lb/sq in") (.080 :label "teflon = .080 lb/sq in") (.043 :label "acrylic = .043 lb/sq in") (.034 :label "uhmw = .034 lb/sq in") (.084 :label "silicon = .084 lb/sq in") (.14 :label "alumina = .14 lb/sq in")) ) (OTHER :value-type :number :initial-value .098 :after-input (setq matl other) ) ) :mutual-exclusion '(MATL OTHER) :local-functions '( (vds-change-density (part matl) (set_default_part_density matl) (create_part :name "bogus-density-part") (set_part_base_density :parts part :copy :REF_SRC "/bogus-density-part") (set_part_inst_density :parts part :clr) (delete_3d "/bogus-density-part") (set_default_part_density .098) ) ) :ok-action '(progn (vds-change-density part matl)) )