Idf Namespace Reference

Functions

def insert
def mid_point
def open
def Per_point
def place_steps
def Process_board_outline
def Process_comp_outline
def process_emn
def process_emp
def split_records
def toQuaternion

Variables

int EmpDisplayMode = 2
int IDF_diag = 1
string IDF_diag_path = "C:/temp"
int IDF_sort = 0
int ignore_hole_size = 1
tuple model_tab_filename = FreeCAD.getResourceDir()
 pythonopen = open
tuple step_path = FreeCAD.getResourceDir()

Function Documentation

def Idf::insert (   filename,
  docname 
)
called when freecad imports an Emn file

Definition at line 65 of file Idf.py.

def Idf::mid_point (   prev_vertex,
  vertex,
  angle 
)
mid_point(prev_vertex,vertex,angle)-> mid_vertex
   
   returns mid point on arc of angle between prev_vertex and vertex

Definition at line 190 of file Idf.py.

def Idf::open (   filename  ) 
called when freecad opens an Emn file

Definition at line 56 of file Idf.py.

def Idf::Per_point (   prev_vertex,
  vertex 
)
Per_point(center,vertex)->per point

   returns opposite perimeter point of circle

Definition at line 385 of file Idf.py.

def Idf::place_steps (   doc,
  placement,
  board_thickness 
)
place_steps(doc,placement,board_thickness)->place step models on board 

    list of models and path to step files is set at start of this script
             model_tab_filename= "" &   step_path="" 

Definition at line 322 of file Idf.py.

def Idf::Process_board_outline (   doc,
  board_outline,
  drills,
  board_thickness 
)
Process_board_outline(doc,board_outline,drills,board_thickness)-> number proccesed loops

    adds emn geometry from emn file

Definition at line 131 of file Idf.py.

def Idf::Process_comp_outline (   doc,
  comp_outline,
  comp_height 
)
Process_comp_outline(doc,comp_outline,comp_height)->part shape
   Create solid component shape base on its outline

Definition at line 293 of file Idf.py.

def Idf::process_emn (   doc,
  filename 
)
process_emn(document, filename)-> adds emn geometry from emn file

Definition at line 72 of file Idf.py.

def Idf::process_emp (   doc,
  filename,
  placement,
  board_thickness 
)
process_emp(doc,filename,placement,board_thickness) -> place components from emn file to board

Definition at line 223 of file Idf.py.

def Idf::split_records (   line_record  ) 
split_records(line_record)-> list of strings(records)
   
   standard separator list separator is space, records containting encapsulated by " 

Definition at line 200 of file Idf.py.

def Idf::toQuaternion (   heading,
  attitude,
  bank 
)
toQuaternion(heading, attitude,bank)->FreeCAD.Base.Rotation(Quternion)

Definition at line 369 of file Idf.py.


Variable Documentation

Definition at line 42 of file Idf.py.

int Idf::IDF_diag = 1

Definition at line 46 of file Idf.py.

string Idf::IDF_diag_path = "C:/temp"

Definition at line 47 of file Idf.py.

int Idf::IDF_sort = 0

Definition at line 44 of file Idf.py.

Definition at line 41 of file Idf.py.

tuple Idf::model_tab_filename = FreeCAD.getResourceDir()

Definition at line 36 of file Idf.py.

Definition at line 54 of file Idf.py.

tuple Idf::step_path = FreeCAD.getResourceDir()

Definition at line 38 of file Idf.py.


Generated on Wed Nov 23 19:02:12 2011 for FreeCAD by  doxygen 1.6.1