I want to start a module to import and export BTL file.
http://design2machine.com/btl/index.html
Description of the BTL V10.6
Example file
Basically the file list some part (wood beam in the rough) and for each some machining (process like Cut,DoubleCut,TenonMortise).
Here simple example, a beam with a simple cut at each extremity :
Code: Select all
VERSION: "BTL V10.6"
BUILD: "10600"
[GENERAL]
PROJECTNUMBER: "001"
PROJECTNAME: "Coupe2Extremites"
SCALEUNIT: 1
[PART]
SINGLEMEMBERNUMBER: 1
DESIGNATION: "PieceTest"
COUNT: 1
LENGTH: 00024638
HEIGHT: 00001800
WIDTH: 00000800
PLANINGLENGTH: 00014610
STARTOFFSET: 00000200
ENDOFFSET: 00000200
UID: 001
TRANSFORMATION: OX:00011577 OY:00-46867 OZ:00000550 XX:00000000 XY:00008192 XZ:00005736 YX:00000000 YY:000-5736 YZ:00008192
PROCESSINGQUALITY: AUTOMATIC
PROCESSKEY: 2-010-2 CutDebut
PROCESSPARAMETERS: P01:00000200 P02:00000000 P03:00000000 P06:00000550 P07:00000450
PROCESSIDENT: 1
PROCESSKEY: 1-010-2 CutFin
PROCESSPARAMETERS: P01:00024638 P02:00000000 P03:00000000 P06:00000550 P07:00000450
PROCESSIDENT: 2
Like this I get a fully parametric wood project ?!
I would like to make this in python since I "know" only that.
What file in the source code of FreeCAD can I look to take example ?
Discussion about transformation and placement : viewtopic.php?f=22&t=6766