Which Resources Can Help Me Manipulate 3D Files Using Python or Javascript?

Click For Summary

Discussion Overview

The discussion focuses on resources for manipulating 3D files such as OBJ or STL using programming languages, primarily Python and JavaScript. Participants explore various tools, libraries, and concepts related to 3D file manipulation, including algorithmic art and projection techniques.

Discussion Character

  • Exploratory, Technical explanation, Conceptual clarification

Main Points Raised

  • One participant seeks resources for learning to manipulate 3D files using Python and JavaScript.
  • Another participant questions the concept of a "3D file," suggesting that files are essentially one-dimensional sequences of bytes and require specific logic to interpret them as three-dimensional data.
  • A participant mentions the availability of Python packages, such as numpy-stl, for working with 3D files.
  • One participant expresses interest in creating algorithmic art and discusses the idea of projecting a 2D image onto a 3D surface, seeking online tutorials and books for learning.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the definition of a "3D file" and its manipulation, indicating a mix of exploratory ideas and differing perspectives on the topic.

Contextual Notes

Some assumptions about the nature of 3D files and the programming logic required to manipulate them remain unresolved. The discussion does not clarify specific methodologies or frameworks for achieving the stated goals.

Who May Find This Useful

Individuals interested in programming for 3D file manipulation, algorithmic art, or those seeking resources in Python and JavaScript for 3D graphics.

Avatrin
Messages
242
Reaction score
6
Hi

I am trying to learn how to manipulate 3D files like obj or stl using programming (I primarily use Python, but also know Javascript). Which resources can I use to learn this?
 
Technology news on Phys.org
Avatrin said:
I am trying to learn how to manipulate 3D files like obj or stl using programming (I primarily use Python, but also know Javascript). Which resources can I use to learn this?
There's not really such a thing as a 3D file. A computer file is basically a one-dimensional sequence of bytes. A program can be written that treats the data in a file as three dimensional, but logic has to be built into the program to do this.

Can you be more specific about what you're asking?
 
There are a number of Python packages available for working with 3D files, for example numpy-stl
 
Well, I am looking for resources to learn to make, for instance, algorithmic art. So, I just need to learn to manipulate 3D objects and save them in those files..

One of the things I am considering is projecting a 2D image onto a 3D surface and do something on that surface depending upon what was on that image.

I am looking for online tutorials and books.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
3K
Replies
35
Views
8K
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K