Skip to content

Commit

Permalink
Formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mogres committed Oct 18, 2024
1 parent 479374f commit 5c690d3
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions cellpack/autopack/Graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -2104,7 +2104,7 @@ def color(
data=None,
objects=None,
colors=[upyColors.red, upyColors.black],
**options
**options,
):
mini = None
maxi = None
Expand Down Expand Up @@ -2133,7 +2133,7 @@ def color(
objects=objects,
ramp=ramp,
colors=colors,
**options
**options,
)
elif mode == "order":
# the order is in the name
Expand All @@ -2143,7 +2143,7 @@ def color(
objects=objects,
ramp=ramp,
colors=colors,
**options
**options,
)
print("datas", len(datas))
print("objs", len(listeObjs))
Expand All @@ -2166,7 +2166,7 @@ def colorByDistanceFrom(
objects=None,
ramp=None,
colors=[upyColors.red, upyColors.black],
**options
**options,
):
"""
target : name or host object target
Expand Down Expand Up @@ -2240,7 +2240,7 @@ def colorByOrder(
objects=None,
ramp=None,
colors=[upyColors.red, upyColors.black],
**options
**options,
):
"""
target : name or host object target
Expand Down
4 changes: 2 additions & 2 deletions cellpack/autopack/ingredient/grow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1659,7 +1659,7 @@ def __init__(
meshObject=None,
orientation=(1, 0, 0),
count=0,
**kw
**kw,
):
GrowIngredient.__init__(
self,
Expand Down Expand Up @@ -1687,7 +1687,7 @@ def __init__(
orientation,
count,
type,
**kw
**kw,
)
if name is None:
name = "Actine_%s_%f" % (str(radii), molarity)
Expand Down
24 changes: 12 additions & 12 deletions cellpack/autopack/upy/hostHelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ def addLampToScene(
shadow=False,
center=[0.0, 0.0, 0.0],
scene=None,
**kw
**kw,
):
"""
Add a light to the scene
Expand Down Expand Up @@ -1651,7 +1651,7 @@ def Text(
pos=None,
font=None,
lookAt=False,
**kw
**kw,
):
"""
Create a hostobject of type Text.
Expand Down Expand Up @@ -1809,7 +1809,7 @@ def box(
size=[1.0, 1.0, 1.0],
cornerPoints=None,
visible=1,
**kw
**kw,
):
"""
Create a hostobject of type cube.
Expand Down Expand Up @@ -1852,7 +1852,7 @@ def updateBox(
cornerPoints=None,
visible=1,
mat=None,
**kw
**kw,
):
"""
Update the given box.
Expand Down Expand Up @@ -1958,7 +1958,7 @@ def plane(
size=[1.0, 1.0],
cornerPoints=None,
visible=1,
**kw
**kw,
):
"""
Create a hostobject of type cube.
Expand Down Expand Up @@ -2577,7 +2577,7 @@ def createsNmesh(
color=[
[1, 0, 0],
],
**kw
**kw,
):
"""
Function that generate a Polygon object from the given vertices, face and normal.
Expand Down Expand Up @@ -2644,7 +2644,7 @@ def addBone(
boneParent=None,
name=None,
editMode=True,
**kw
**kw,
):
"""
Add one bone to an armature.
Expand Down Expand Up @@ -2746,7 +2746,7 @@ def particle(
radius=None,
color=None,
hostmatrice=None,
**kw
**kw,
):
"""
Create a particle system along the given coordinates
Expand Down Expand Up @@ -4293,7 +4293,7 @@ def setRigidBody(
dynamicsAngularDamp=0.0,
massClamp=0.0,
rotMassClamp=1.0,
**kw
**kw,
):
"""
Set the curren objec as a rigid body
Expand Down Expand Up @@ -4326,7 +4326,7 @@ def updateSpring(
rlength=0.0,
stifness=1.0,
damping=1.0,
**kw
**kw,
):
"""
Update the spring control
Expand All @@ -4348,7 +4348,7 @@ def createSpring(
stifness=1.0,
damping=1.0,
parent=None,
**kw
**kw,
):
"""
Create a sprin between two physics objects
Expand Down Expand Up @@ -4386,7 +4386,7 @@ def get_noise(
offset=1.0,
octaves=6,
gain=1.0,
**kw
**kw,
):
# multi_fractal(position, H, lacunarity, octaves, noise_basis=noise.types.STDPERLIN)
# NotePlease use InitFbm() before you use one of the following noise types:
Expand Down

0 comments on commit 5c690d3

Please sign in to comment.