Arch API

From FreeCAD Documentation
This page is a translated version of the page Arch API and the translation is 75% complete.
Outdated translations are marked like this.
(November 2018) API Arch este listat în autogenerated API documentation.

Funcțiile API care fac parte din atelierul Arch Arch Workbench pot fi utilizate atât în macro-urimacros cât și din consola Python după ce a fost importat modulul Arch. Atelierul Reinforcement Addon are propriul Reinforcement API.

Exempluː

import FreeCAD, Draft, Arch

p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(2000, 0, 0)
baseline = Draft.makeLine(p1, p2)

Arch.makeWall(baseline, length=None, width=200, height=2000)