![]() ![]() ![]() 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) I need to be able to select the points in the surface WB using the surface filling command, but the points generated with the code aren't selectable.Forbbox = ('PartDesign::Body', 'Part::Feature', 'Part::FeaturePython') Now that the points have appeared in the main view, How can I select them? Heda, you mentioned with Draft snap, but I can't select anything. > = (0.0, 0.0, 0.0)Īny idea what's going on? Why is typing explicitly, different to pasting the line in the interpreter? They look exactly the same. points.append(tuple(sheet.get(ref.format(column, row))for column in 'ABC')) > sheet = ĪttributeError: 'App.Document' object has no attribute 'SpreadSheet' ![]() Printing things is your friend, just litter the code with print statements, then you can see what you have in the variables - which more often that people care to admit is not the same as one thinks.Ĭombine that with working in the console to explore what is in an object.Ĭode: Select all > sheet = Or instead of appending, just make your draft points there. Not particularly hard, after the loop you have a list of points that you can use with a 2nd loop to make your draft points "How difficult is it to adapt your code to make draft points?" "I need the points to be individually selectable" Right, that means that the code-execution has gone past the loop (which is weird if you claim an error before the loop), you can put in a "print(points)" after the loop to see if there is anything in the list. Is it not an "Active" missing, computers tend to be pretty picky about what things are called. If the error is AttributeError: 'App.Document' object has no attribute 'SpreadSheet', # whereas the below will pick up whatever object is active, could be your spreadsheet or something else. # (which is the default name for the first spreadsheet added) # of course only works if your actual name on that object is "Spreadsheet" ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |