![]() ![]() # else make the default external configuration fileįichier.writelines("#!/usr/bin/env python3\n# coding: utf-8\n#\n# LGPL\n# Copyright HUBERT Zoltán\n#\n# infoKeys.py\n\n\n#customization file for the description of the parts in BoM list\n\n\npartInfo = ")Īfter we will have the right code to modify this through the PartInfo UI. # after we can replace Asm4.partInfo by InfoKeys.partInfo # try to open existing external configuration file of user # to have the dir of external configuration file ![]() This could let to make some 2D cut-lists in optimization cutting programs. I can assign this number manually in the "Edit Part Information (FS Mod)" dialog, but automatic function could be incredibly cool!įor sheet materials it would be great to add some column "Width" ("largeur" if I'm not mistaken :) ) straight behind the "longueur" column. Of coarse I'd be happy to use this dimension in my BOMs also. I've made a body with "Sweep along a Pass" tool to have a possibility to set the length of the arc in millimeters (not angle, through a spreadsheet). Still, something is missing for my needs. Now with your script I can easily make 1D cut-lists for lined tubes (I can insert Lengths and Quantity column to optimization program and get the cutting map immediately)!! Blender has some capabilities for dimensions, but not so developed as FreeCad. I thought If I call any dimension in Sketch or Pad's Length "largeur" through the Spreadsheet - the script will take this as "longueur" and put it into BOM:))Īs about my production I make some bar counters, kitchen furniture where I usually use metal frames covered by different sheet materials. With the reason of some language barrier and some inattention I mixed up "largeur" and "longueur". Hello again, looks like I figured it out :) Thank you for detailed explanation! I had no idea that your script can even build names (Reference_AP) - super!!Īlso I've understood, that the "longueur" depends only on Pad's length (no matter how this defined through the Spreadsheet or directly). Tube rond 30 X I will be very happy to be able to contribute to the ASM4 project. "tube rectangulaire" + largeur + X + hauteur + X + epaisseur for the constraints largeur, hauteur, epaisseur ( without largeur = hauteur ) "tube carré " + largeur + X + epaisseur for the constraints largeur, hauteur, epaisseur (for largeur = hauteur) "tube rond" + diametre + X + epaisseur for the constraints diametre, epaisseur "étiré plat" + largeur + X + hauteur for the constraints largeur, epaisseur "fer plat" + largeur + X + hauteur for the constraints largeur, epaisseur, conge "fer rond" + diametre for juste the constraints diametre "info par default" button writt the right profiles : You can write whatever you want and save by clicking OKįor use the "info par default" button you have to make your part with a special constraints when you draw they in sketcher.Īnd click on "In Spreadsheets" button to create a Spreadsheet call BOM with all your part in qty with the personalized information you want ( you have written in the "Edit Part Information" module )īelow 2 examples of profiles for which the "info par default" button works. ![]() ![]() With the compatibility with old 'Model' and New 'Assembly' nameįor the installation juste drop the files in Assembly4 case like that :Īfter the installation you can open FreeCAD -> Assembly4 and test the "Edit Part Information" module I quickly re-wrote the files for the version 0.10.1 The script for 'défault part' work actualy only with my way to do the parts. So i think the top is a "Edit part info" with button for script for 'normals' parts )Īnd put manualy the informations is the unique way for there. but we have some special parts (motor, bearings, laser cutting. So i make a script for normal section bar, screw. The description of part must be the same what we have in data base. So i work on the possibilities to have BOM.īut a special BOM because after we have a automatisation of every things (ordering, cutting sheet. In first i worked with AS2+ because it can make BOM, but for some cylinder problems and others i prefered AS4. We try to migrate to FreeCAD (I work on it). We have a large data base of drawings, but we work with SW. I work on CAD to make open tools drawings what be built by agricultor during a formation or them self.įarmingSoul cooperate with l'Atelier Paysan ( ) for lot of things. Spreadsheet = document.addObject('Spreadsheet::Sheet','Spreadsheet') Print(indent+' '+prop+' = '+str(propValue)) If vars.getGroupOfProperty(prop)='Variables' : Print(indent+object.Label+' ('+object.TypeId+')') Partlist(object.LinkedObject,level+1,tab) Forbbox = ('PartDesign::Body', 'Part::Feature', 'Part::FeaturePython') ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |