
Correction bug Bounding box Addition: into "Sweeping" TAB : Beam (thanks to lorenz_l for Beam tool Macro) Will extrude a Section along a Linear Trajectory. - Select first one Section wire (Closed wire will generate volumes by default) (This Section can be a compound from sketch to realize "tube") - Select one or several wire(s) as Trajectory(ies) - Then push this button into "Object" TAB : Duplicate Make a copy of an object or a selected subObject part: - Select one or several object(s) or subobject(s) - Then push this button into "Check" TAB : Radius Check for Radius: Radius measurement for a Circle or an Arc. - Select One Circle or Arc - Then click this button
23 lines
711 B
Plaintext
23 lines
711 B
Plaintext
# -*- coding: utf-8 -*-
|
|
import sys
|
|
import os.path
|
|
|
|
# Change this by your own FreeCAD lib path to import FreeCAD
|
|
if not sys.path.__contains__("/usr/lib/freecad/lib"):
|
|
sys.path.append("/usr/lib/freecad/lib")
|
|
|
|
try:
|
|
# try import
|
|
import WorkFeature.WF_2015 as WF
|
|
except:
|
|
# get the path of the current python script
|
|
m_current_path = os.path.realpath(__file__)
|
|
m_current_path = os.path.dirname(m_current_path)
|
|
# check if this path belongs to the PYTHONPATH variable and if not add it
|
|
if not sys.path.__contains__(str(m_current_path)):
|
|
sys.path.append(str(m_current_path))
|
|
# retry import now
|
|
import WorkFeature.WF_2015 as WF
|
|
|
|
WF.myDialog = WF.WorkFeatureTab()
|