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
OpenFlipper-Free
Plugin-Subdivider
Commits
a867bb11
Commit
a867bb11
authored
Mar 23, 2021
by
Johannes Lenzen
Browse files
Added possible algorithm names to python documentation
parent
37ae9ebe
Changes
1
Hide whitespace changes
Inline
Side-by-side
PythonInterface/Python.cc
View file @
a867bb11
...
...
@@ -79,14 +79,14 @@ PYBIND11_EMBEDDED_MODULE(Subdivider, m) {
sub
.
def
(
"subdivide"
,
&
SubdividerPlugin
::
subdivide
,
QCoreApplication
::
translate
(
"PythonDocSub"
,
"Subdivides the specified object"
).
toLatin1
().
data
(),
py
::
arg
(
QCoreApplication
::
translate
(
"PythonDocSub"
,
"ObjectID"
).
toLatin1
().
data
()),
py
::
arg
(
QCoreApplication
::
translate
(
"PythonDocSub"
,
"Algorithm"
).
toLatin1
().
data
()),
py
::
arg
(
QCoreApplication
::
translate
(
"PythonDocSub"
,
"Algorithm
- possible values: loop,sqrt3,interpolating_sqrt3,modifiedButterfly
"
).
toLatin1
().
data
()),
py
::
arg
(
QCoreApplication
::
translate
(
"PythonDocSub"
,
"Steps"
).
toLatin1
().
data
()),
py
::
arg
(
QCoreApplication
::
translate
(
"PythonDocSub"
,
"Update points"
).
toLatin1
().
data
()));
sub
.
def
(
"simpleSubdivide"
,
&
SubdividerPlugin
::
simpleSubdivide
,
QCoreApplication
::
translate
(
"PythonDocSub"
,
"Subdivides the specified object"
).
toLatin1
().
data
(),
py
::
arg
(
QCoreApplication
::
translate
(
"PythonDocSub"
,
"ObjectID"
).
toLatin1
().
data
()),
py
::
arg
(
QCoreApplication
::
translate
(
"PythonDocSub"
,
"Algorithm"
).
toLatin1
().
data
()),
py
::
arg
(
QCoreApplication
::
translate
(
"PythonDocSub"
,
"Algorithm
- possible values: longest
"
).
toLatin1
().
data
()),
py
::
arg
(
QCoreApplication
::
translate
(
"PythonDocSub"
,
"Steps"
).
toLatin1
().
data
()),
py
::
arg
(
QCoreApplication
::
translate
(
"PythonDocSub"
,
"Additional Parameter"
).
toLatin1
().
data
()),
py
::
arg
(
QCoreApplication
::
translate
(
"PythonDocSub"
,
"Update points"
).
toLatin1
().
data
()));
...
...
Write
Preview
Supports
Markdown
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