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
Daniel Boeckenhoff
tfields
Commits
0abc50aa
Commit
0abc50aa
authored
Mar 18, 2020
by
dboe
Browse files
stl loading with triangles
parent
fbb46f42
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_triangles3D.py
0 → 100644
View file @
0abc50aa
import
tfields
import
numpy
as
np
import
unittest
import
sympy
# NOQA: F401
import
os
import
sys
THIS_DIR
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
os
.
path
.
join
(
os
.
getcwd
(),
os
.
path
.
expanduser
(
__file__
))))
sys
.
path
.
append
(
os
.
path
.
normpath
(
os
.
path
.
join
(
THIS_DIR
)))
from
test_core
import
Base_Check
class
IO_test
(
Base_Check
,
unittest
.
TestCase
):
pass
class
IO_Stl_test
(
IO_test
):
def
setUp
(
self
):
self
.
_inst
=
tfields
.
Triangles3D
.
load
(
r
'../data/baffle.stl'
)
if
__name__
==
'__main__'
:
unittest
.
main
()
\ No newline at end of file
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