opulo-inc / lumenpnp

The LumenPnP is an open source pick and place machine.
Other
2.42k stars 323 forks source link

Assembly.FSCad has references to files which have been renamed/don't exist #446

Closed stuartpittaway closed 2 years ago

stuartpittaway commented 2 years ago

If you trigger the generate "part list" function in FreeCad, it reports lots of errors of files which no longer exist/renamed.

08:46:58  fcDocumentReader: file E:\source\index\pnp\cad\OTS\MakerBot LimitSwitchBoard.STEP does not exist!
08:46:58  fcDocumentReader: file E:\source\index\pnp\cad\OTS\OTS-0009_20x20_v_slot_600mm.step does not exist!
08:46:58  fcDocumentReader: file E:\source\Downloads\v-slot-roller.step does not exist!
08:46:58  fcDocumentReader: file E:\source\index\pnp\cad\OTS\v-slot-roller.step does not exist!
08:46:58  fcDocumentReader: file E:\source\index\pnp\cad\OTS\M5-tslot-nut.step does not exist!
08:46:58  fcDocumentReader: file E:\source\index\pnp\cad\FDM\front-leg-tensioner.FCStd does not exist!
08:46:58  fcDocumentReader: file E:\source\index\pnp\cad\OTS\Nema 17 42A02C v2.step does not exist!
08:46:58  fcDocumentReader: file E:\source\index\pnp\cad\OTS\Gates_2GT_20T_Toothed_Pulley.STEP does not exist!
08:46:58  fcDocumentReader: file E:\source\index\pnp\cad\OTS\Gates_2GT_20T_Toothed_Idler.STEP does not exist!
08:46:58  fcDocumentReader: file E:\source\index\pnp\cad\OTS\94000A330_18-8 STAINLESS STEEL CAP NUT.STEP does not exist!
08:46:58  fcDocumentReader: file E:\source\index\pnp\cad\OTS\Linear Rail & Block LML9B v3.step does not exist!
08:46:58  fcDocumentReader: file E:\source\index\pnp\cad\OTS\MS4M-M5.STEP does not exist!
08:46:58  fcDocumentReader: file E:\source\index\pnp\cad\OTS\smc_stepper.stp does not exist!
08:46:58  fcDocumentReader: file E:\source\index\pnp\cad\OTS\OTS-0011_v-slot-roller.step is no FCStd file!
08:46:58  fcDocumentReader: file \home\stephen\index\pnp\cad\FDM\FDM-0037_belt-tension-arm.FCStd does not exist!
08:46:58  fcDocumentReader: file E:\source\index\pnp\cad\OTS\2020CornerBracket.step does not exist!
08:46:58  fcDocumentReader: file E:\source\index\pnp\cad\FDM\FDM-0045_corner_bracket.FCStd does not exist!
08:46:58  fcDocumentReader: file E:\source\index\pnp\cad\OTS\URY6M-4M.STEP does not exist!
08:46:58  fcDocumentReader: file E:\source\index\pnp\cad\PCB\PCB-0001-00_index_motherboard.step is no FCStd file!
08:46:58  #PARTSLIST# spreadsheet has been created
stuartpittaway commented 2 years ago

@sphawes I've remapped the 3d models/parts in assembly to the correct filenames in the FDM/OTS/FST folders etc.

I've also added the model "94000A330_18-8 STAINLESS STEEL CAP NUT.STEP" into the FST folder as it was missing - this needs to be renamed to "FST-XXXX" - I'm not sure how you are numbering these parts, is this something you can pick up and then correct the assembly model?

Also updated the BOM generation script, which now outputs the below. The ordering has changed to filename + description, which I think makes more sense.

Seems to be a lot of concern/comments over this BOM file. I believe we can embed comments/data into the FreeCad model for automatic export using the "part data" feature of a2plus, but not experimented with it.

You will notice on the below that rogue filenames like "2020CornerBracket.step", "FDM-0045_corner_bracket.FCStd" and "Gates_2GT_20T_Toothed_Idler.STEP" have been corrected.

Also seems to be some confusion because this list has the full filename of the FreeCad model vs the 3d STL part number - is this something to resolve?

Description Supplier Filename Quantity
94000A330_18-8 STAINLESS STEEL CAP NUT.STEP 3
CSM-0001_staging-plate.FCStd 1
DIN985 Nut M5 7
FDM-0001_front-left-leg.FCStd 1
FDM-0002_front-right-leg.FCStd 1
FDM-0003_back-left-leg.FCStd 1
FDM-0004_back-right-leg.FCStd 1
FDM-0005_y-gantry.FCStd 2
FDM-0006_x-motor-mount.FCStd 1
FDM-0007_frame-umbilical-mount.FCStd 1
FDM-0008_y-gantry-support.FCStd 2
FDM-0009_roller-spacer.FCStd 6
FDM-0010_y-gantry-umbilical-mount.FCStd 1
FDM-0011_x-gantry-front.FCStd 1
FDM-0012_x-gantry-back.FCStd 1
FDM-0013_x-idler-mount.FCStd 1
FDM-0014_down-camera-mount.FCStd 1
FDM-0015_down-light-mount.FCStd 1
FDM-0017_z-gantry-left.FCStd 1
FDM-0019_up-light-mount.FCStd 1
FDM-0020_up-camera-mount.FCStd 1
FDM-0021_foot.FCStd 1
FDM-0022_umbilical-guide.FCStd 1
FDM-0023_peek-cable-guide.FCStd 6
FDM-0024_nozzle-holder.FCStd 1
FDM-0025_pump-mount.FCStd 1
FDM-0027_belt-clamp.FCStd 6
FDM-0037_belt-tension-arm.FCStd 3
FDM-0039_z-gantry-right.FCStd 1
FDM-0040_z-gantry-backplate-left.FCStd 1
FDM-0041_z-gantry-backplate-right.FCStd 1
FDM-0042_valve-mount.FCStd 1
FDM-0044_x-gantry-tension-bar.FCStd 2
FDM-0046_umbilical-swivel-base.FCStd 1
FDM-0047_umbilical-swivel-extension.FCStd 1
FDM-0055_datum-board-mount.FCStd 1
FDM-9001_squaring-bracket.FCStd 2
FST-0016_M5-tslot-nut.step 34
ISO4032 Nut M3 43
ISO4032 Nut M5 31
ISO4762 Screw M2.5x20 4
ISO4762 Screw M2.5x8 8
ISO4762 Screw M3x16 11
ISO4762 Screw M3x30 9
ISO4762 Screw M5x10 30
ISO4762 Screw M5x25 14
ISO4762 Screw M5x40 14
ISO7380-1 Screw M3x10 18
ISO7380-1 Screw M3x14 14
ISO7380-1 Screw M3x8 31
ISO7380-1 Screw M5x8 16
OTS-0001-00_CP40-nozzle-holder.FCStd 1
OTS-0002-00_usb-webcam.FCStd 2
OTS-0003-00_vacuum-pump.FCStd 1
OTS-0005-00_zip-tie.FCStd 6
OTS-0007-00_y-gantry-shroud.FCStd 1
OTS-0008-00_x-gantry-shroud.FCStd 1
OTS-0009_pneumatic-splitter-URY6M-4M.STEP 1
OTS-0010_20x20-v-slot-600mm.step 7
OTS-0011_v-slot-roller.step 10
OTS-0012_nema17-stepper.step 4
OTS-0013_nema11-hollow-shaft-stepper.stp 1
OTS-0014_linear-rail-100mm-LML9B.step 4
OTS-0015_20x20-corner-bracket.step 6
OTS-0016_GT2-20-tooth-idler.STEP 4
OTS-0017_GT2-20-tooth-pulley.STEP 4
OTS-0018_pneumatic-coupler-MS4M-M5.STEP 1
OTS-0019_limit-switch-PCBA.STEP 3
OTS-0020-00_24v_3-Way_Solenoid_Valve_0526T_www.fspump.cn.FCStd 1
PCB-0001-00_index_motherboard.step 1