Подключен генератор PDDL-доменов и функция экспорта
This commit is contained in:
parent
8971bb13df
commit
46758e4b62
10 changed files with 9 additions and 587 deletions
|
@ -13,6 +13,7 @@
|
|||
# License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
from BoMList import run_BoM_list
|
||||
import pddl.freecad2pddl as freecad2pddl
|
||||
from ImportExportEntities import export_coordinate_systems
|
||||
import FreeCAD
|
||||
import Tools
|
||||
from usecases.asm4parser_usecase import Asm4StructureParseUseCase
|
||||
|
@ -301,12 +302,6 @@ def spawnFeatureFrameCreator():
|
|||
ffpanel = FeatureFramePanel()
|
||||
FreeCADGui.Control.showDialog(ffpanel)
|
||||
|
||||
def BoMGeneration(part):
|
||||
|
||||
|
||||
obj = FreeCAD.ActiveDocument.addObject("App::FeaturePython",
|
||||
"FeatureFrame")
|
||||
print(obj)
|
||||
|
||||
|
||||
###################################################################
|
||||
|
@ -378,6 +373,13 @@ Tools.spawnClassCommand("PDDL_ExportPDDL",
|
|||
"MenuText": "ExportDomain",
|
||||
"ToolTip": "Create and Export Domain.pddl to File"})
|
||||
|
||||
Tools.spawnClassCommand("Export_Entities",
|
||||
export_coordinate_systems,
|
||||
{"Pixmap": str(os.path.join(icondir, "BoMList.svg")),
|
||||
"MenuText": "ExportLCS",
|
||||
"ToolTip": "Export all the markups"})
|
||||
|
||||
|
||||
|
||||
###################################################################
|
||||
# GUI buttons
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue