Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
finesse
pykat
Commits
db4ead10
Commit
db4ead10
authored
Feb 11, 2015
by
Daniel Brown
Browse files
updating to latest optivis version
parent
ecad5075
Changes
2
Hide whitespace changes
Inline
Side-by-side
examples/optivis_ex.py
View file @
db4ead10
...
...
@@ -6,10 +6,18 @@ kat.parseCommands("""
l l1 1 0 n0
s s1 100 n0 n1
m m1 1 0 0 n1 n2
s s2 200 n2 n3
bs bs1 1 0 45 45 n3 dump n4 dump
s s3 200 n4 n5
m m2 1 0 0 n5 n6
s s1 50 n2 n3
bs bs1 1 0 45 45 n3 n4 n5 n6
s s2 200 n5 n5a
m m2 1 0 0 n5a dump
s s3 200 n4 n4a
m m3 1 0 0 n4a dump
s s4 50 n6 n6a
m m4 1 0 0 n6a n6b
"""
)
kat
.
optivis
().
show
()
...
...
pykat/finesse.py
View file @
db4ead10
...
...
@@ -1462,7 +1462,7 @@ class kat(object):
import
optivis.bench.links
as
links
import
optivis.view.canvas
as
canvas
scene
=
scene
.
Scene
(
title
=
"
Example 2"
,
azimuth
=
180
)
scene
=
scene
.
Scene
(
title
=
"
My pykat layout"
)
# Run through once to add components, ignoring spaces
for
c
in
self
.
getComponents
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment