Version 1 (modified by 7 years ago) (diff) | ,
---|
SALOME
Namestitev
Za namestitev SALOME-a shranite Windows paket SALOME-8.3.0-WIN64.exe ki se nahaja na spodnji povezavi:
http://www.salome-platform.org/downloads/current-version
Odpakirajte Windows paket SALOME-8.3.0-WIN64.exe kot administrator (desni klik --> Run as Administrator) v C:\Program Files.
Program SALOME se zažene s skriptom run_salome.bat ki se nahaja v C:\Program Files\SALOME-8.3.0-WIN64\WORK.
Primer primitiva
Uporabljali bomo navodila za Salome 8.3. Za programiranje v geometrijskem modulu si poglejte Geometry module Python Interface.
>>> import salome >>> import GEOM >>> from salome.geom import geomBuilder >>> geompy = geomBuilder.New(salome.myStudy) >>> box = geompy.MakeBox(10.0,10.0,10.0, 20, 20, 20) >>> geompy.addToStudy(box, 'Skatla') >>> salome.sg.updateObjBrowser(True)
Attachments (27)
-
data.txt (36.6 KB) - added by 7 years ago.
Tekstovna datoteka, ki vsebuje točke za izdelavo krivulje za panel
-
dataPolyline.txt (125 bytes) - added by 7 years ago.
Tekstovna datoteka, ki vsebuje točke za izdelavo krivulje za izvlek za panel
-
salomePrismExample.py (767 bytes) - added by 7 years ago.
Program za primer izdelave izvleka v prostor.
-
b_splineSalomePanelExample.png (7.3 KB) - added by 7 years ago.
Slika, ki prikazuje krivulji za primer izdelave panela.
-
prismSalomePrismExample.png (5.6 KB) - added by 7 years ago.
Slika, ki prikazuje izvlek kvadrata v prostor (kocka).
-
faceSalomePrismExample.png (5.0 KB) - added by 7 years ago.
Slika, ki prikazuje površino kvadrata.
-
polylineSalomePrismExample.png (5.5 KB) - added by 7 years ago.
Slika, ki prikazuje kvadrat za izvlek.
-
pointsSalomePrismExample.png (7.2 KB) - added by 7 years ago.
Slika, ki prikazuje točke, ki definirajo kvadrat.
-
modelSalomePanelExample.png (15.3 KB) - added by 7 years ago.
Slika, ki prikazuje model panela.
-
polylineSalomePanelExample.png (10.4 KB) - added by 7 years ago.
Prikaz krivulje za izvlek pri izdelavi panela.
-
salomePanelExample.py (3.0 KB) - added by 7 years ago.
Primer za izdelavo panela. Brez numpy knjiznice.
-
salomePanelDialogExample.png (4.5 KB) - added by 7 years ago.
Dialog za izdelavo panela.
-
salomePanelsRotatedExample.png (42.7 KB) - added by 7 years ago.
Prikaz rotiranih panelov.
-
salomeDialogPanelExample.py (5.6 KB) - added by 7 years ago.
Koda za izdelavo dialoga, ki izdela zasuke panela.
-
divertor_dlg.ui (3.7 KB) - added by 7 years ago.
Dialog za Qt designer
-
divertor.qrc (104 bytes) - added by 7 years ago.
Qt Resouce description v obliki XML
-
divertor.png (141.8 KB) - added by 7 years ago.
Slika divertorja
-
salomeDialogImageExample.png (19.8 KB) - added by 7 years ago.
Prikaz GUI-ja z izdelavo QtDesignerja?.
-
salomeDialogImageExample.py (197.5 KB) - added by 7 years ago.
Koda za izdelavo GUI-ja s sliko.
-
salomeDivertorGuiExample.png (47.8 KB) - added by 7 years ago.
Primer Gui-ja za divertor.
-
divertor.py (3.5 MB) - added by 7 years ago.
Koda izdelave GUI-ja za divertor.
-
salomeDivertorGuiExampleImage.png (103.0 KB) - added by 7 years ago.
Primer Gui-ja za divertor s sliko.
-
svessel.py (380.0 KB) - added by 7 years ago.
Program za magnete
-
ms.qrc (96 bytes) - added by 7 years ago.
Magnet System Resource file
-
vv.ui (5.9 KB) - added by 7 years ago.
Primer dialoga
-
ms.png (89.3 KB) - added by 7 years ago.
Slika magnetov
-
signal_primer.py (757 bytes) - added by 7 years ago.
Primer povezovanja signalov v PyQt5