Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to show FBX file with point cloud ? #7

Closed
aishwarya123mathpati opened this issue Nov 22, 2023 · 2 comments · Fixed by #15
Closed

How to show FBX file with point cloud ? #7

aishwarya123mathpati opened this issue Nov 22, 2023 · 2 comments · Fixed by #15
Assignees
Labels
enhancement New feature or request

Comments

@aishwarya123mathpati
Copy link

I want to convert my 3D face coordinates into FBX such that they appear as a point cloud rather than a polygon mesh.

Please reply.

@SapwoodStudio
Copy link
Owner

Hi @aishwarya123mathpati, that sounds like an interesting use-case. If I understand correctly, you want to be able to run "Delete Only Edges & Faces" for every model converted before exporting each model as an FBX.
image

While that specific functionality is beyond the scope of what Transmogrifier is designed to do, it may be possible to have some kind of feature that allows a user to run a Python script (.py) on every converted model before export. I'll add that as an idea to our roadmap and follow up if we implement such a feature.

@SapwoodStudio SapwoodStudio added the enhancement New feature or request label Jan 10, 2024
@SapwoodStudio
Copy link
Owner

Hi @aishwarya123mathpati, we added a new feature called, "Custom Scripts" that should now provide you with the flexibility to write your own script(s) in order accomplish such tasks as you have described above. Scripts can be as simple as one Blender Python command saved as a .py file or entire "addons" to Transmogrifier itself.

Here's an example of the new Custom Scripts UI:
image

and here's a look inside that "Add_Monkey_Shade_Flat.py" file in the screenshot above:

# Add a monkey and shade everything flat.
def add_monkey_shade_flat():
    bpy.ops.object.select_all(action='DESELECT')
    bpy.ops.mesh.primitive_monkey_add(size=2, enter_editmode=False, align='WORLD', location=(0, 0, 0), scale=(0.01, 0.01, 0.01))
    bpy.ops.object.select_all(action='SELECT')
    bpy.ops.object.shade_flat()

add_monkey_shade_flat()

@SapwoodStudio SapwoodStudio self-assigned this Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants