Skip to content

Commit f112a0b

Browse files
committed
asset updated
1 parent 4337188 commit f112a0b

File tree

5 files changed

+7
-9
lines changed

5 files changed

+7
-9
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,16 @@ This module uses the `sqlite3` standard library to replicate the houdini's geo d
2424

2525
## Known Issues
2626

27-
- currently there is no access to intrinsic attributes
2827
- currently list attributes are not supported
2928
- currently errors of the subprocess are not caught
3029
- vertices can not be created or added to primitives
3130

3231
## Upcoming Features
3332

3433
- Support of list attributes
35-
- Support of intrinsic attributes
36-
- Suppot of adding vertex to primitives within the subpocess
34+
- Suppot of adding and removing vertices to and from primitives within the subpocess
3735
- Catching the errors of the subprocess
36+
- py file watcher
3837

3938
---
4039

asset/gss_call_python.hdanc

27.6 KB
Binary file not shown.

example/CallPython_Example.hipnc

28.2 KB
Binary file not shown.

example/CallPython_Source.hipnc

33 KB
Binary file not shown.

example/gss_call_python_example.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import sys
22
import pandas as pd
33
import sqlite3 as sq
4-
import numpy as np
54

65

76
def main(points, vertices, prims, detail):
@@ -17,28 +16,28 @@ def main(points, vertices, prims, detail):
1716
points.drop([28], inplace=True)
1817

1918
# add five new points
20-
for i in range(20):
19+
for i in range(5):
2120
points = points.append(
2221
{'P.X': 0.2 * i,
2322
'P.Y': 0.0,
2423
'P.Z': 0.0}, ignore_index=True)
2524

2625
# add point atribute
27-
points['TestAttrib'] = 'abc'
26+
points['TestPointAttrib'] = 'abc'
2827

2928
#############################
3029
# Vertex Manipulation
3130
#############################
3231

3332
# add vertex atribute
34-
vertices['NV'] = 'testing...'
33+
vertices['TestVertexAttrib'] = 'testing...done'
3534

3635
#############################
3736
# Primitive Manipulation
3837
#############################
3938

4039
# add prim attribute
41-
prims['foo'] = 'myprim'
40+
prims['TestrimitivePAttrib'] = 'myprim'
4241

4342
# delete prim number 28
4443
prims.drop([28], inplace=True)
@@ -48,7 +47,7 @@ def main(points, vertices, prims, detail):
4847
#############################
4948

5049
# add prim attribute
51-
detail['detailinfo'] = 'info'
50+
detail['TestDetailAttrib'] = 'info'
5251

5352
return (points, vertices, prims, detail)
5453

0 commit comments

Comments
 (0)