Changes between Initial Version and Version 1 of salome


Ignore:
Timestamp:
Nov 9, 2017, 8:53:34 AM (7 years ago)
Author:
Leon Kos
Comment:

Primer primitiva

Legend:

Unmodified
Added
Removed
Modified
  • salome

    v1 v1  
     1= SALOME =
     2
     3== Namestitev
     4
     5Za namestitev SALOME-a shranite Windows paket SALOME-8.3.0-WIN64.exe ki se nahaja na spodnji povezavi:
     6
     7http://www.salome-platform.org/downloads/current-version
     8
     9Odpakirajte Windows paket SALOME-8.3.0-WIN64.exe kot administrator (desni klik --> Run as Administrator) v C:\Program Files.
     10
     11Program SALOME se zažene s skriptom run_salome.bat ki se nahaja v C:\Program Files\SALOME-8.3.0-WIN64\WORK.
     12
     13== Primer primitiva
     14
     15Uporabljali bomo [htdocs:doc8.3.0/index.html navodila za Salome 8.3].
     16Za programiranje v geometrijskem modulu si poglejte [htdocs:doc8.3.0/gui/GEOM/python_interface.html Geometry module Python Interface].
     17
     18{{{
     19#!python
     20>>> import salome
     21>>> import GEOM
     22>>> from salome.geom import geomBuilder
     23>>> geompy = geomBuilder.New(salome.myStudy)
     24>>> box =  geompy.MakeBox(10.0,10.0,10.0, 20, 20, 20)
     25>>> geompy.addToStudy(box, 'Skatla')
     26>>> salome.sg.updateObjBrowser(True)
     27}}}