473,770 Members | 2,171 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Looking for small, impressive 3D-related Python script

I'm not trying to persuade my company to offer Python as a scripting
language for their product, but I am trying to give them examples of
things that Python can do easily that cannot be done easily with
their current proprietary scripting language. After that it would be
their decision. As the product is a 3D package, I'm looking for
something in this field.

This does _not_ have to use PyOpenGL, or for that matter, any Python
3D package. In fact, my ideal would be a Python script that simply
uses L-Systems (Lindenmayer systems) as in "The Algorithmic Beauty of
Plants", to generate plantlike OBJ files that can then be displayed
in our program. In general, something that generates an OBJ file
would probably be preferable to something that actually uses
PyOpenGL, Blender, etc, as then I can just display the OBJ file in
our program to say, "This is the sort of thing that can be easily
done by Python without recourse to any other programs".

So please, any suggestions are welcome.

As always, many thanks to this group,
Ken
Nov 28 '05 #1
2 1660
Ken,

I would suggest that you embed python in your app (very easy to do).

-And convert several of your existing scripts to python.

-Show them a stack of python books for customer training purposes

- Drive excel with python (allows integration of your product with other
products.

- Pick an area of functionality that your product offers today that your
customer would like to customize.

- convert this alg to python
- hack you product to execute the python script
- code a variant of the alg in python
- execute your variant to demonstrate that python can lower custom
development cost, and provide points of extensibility
Have fun,
good luck,
Mike

Kenneth McDonald wrote:
I'm not trying to persuade my company to offer Python as a scripting
language for their product, but I am trying to give them examples of
things that Python can do easily that cannot be done easily with their
current proprietary scripting language. After that it would be their
decision. As the product is a 3D package, I'm looking for something in
this field.

This does _not_ have to use PyOpenGL, or for that matter, any Python 3D
package. In fact, my ideal would be a Python script that simply uses
L-Systems (Lindenmayer systems) as in "The Algorithmic Beauty of
Plants", to generate plantlike OBJ files that can then be displayed in
our program. In general, something that generates an OBJ file would
probably be preferable to something that actually uses PyOpenGL,
Blender, etc, as then I can just display the OBJ file in our program to
say, "This is the sort of thing that can be easily done by Python
without recourse to any other programs".

So please, any suggestions are welcome.

As always, many thanks to this group,
Ken

--
The greatest performance improvement occurs on the transition of from
the non-working state to the working state.
Nov 29 '05 #2
Ken,

I would suggest that you embed python in your app (very easy to do).

-And convert several of your existing scripts to python.

-Show them a stack of python books for customer training purposes

- Drive excel with python (allows integration of your product with other
products.

- Pick an area of functionality that your product offers today that your
customer would like to customize.

- convert this alg to python
- hack you product to execute the python script
- code a variant of the alg in python
- execute your variant to demonstrate that python can lower custom
development cost, and provide points of extensibility
Have fun,
good luck,
Mike

Kenneth McDonald wrote:
I'm not trying to persuade my company to offer Python as a scripting
language for their product, but I am trying to give them examples of
things that Python can do easily that cannot be done easily with their
current proprietary scripting language. After that it would be their
decision. As the product is a 3D package, I'm looking for something in
this field.

This does _not_ have to use PyOpenGL, or for that matter, any Python 3D
package. In fact, my ideal would be a Python script that simply uses
L-Systems (Lindenmayer systems) as in "The Algorithmic Beauty of
Plants", to generate plantlike OBJ files that can then be displayed in
our program. In general, something that generates an OBJ file would
probably be preferable to something that actually uses PyOpenGL,
Blender, etc, as then I can just display the OBJ file in our program to
say, "This is the sort of thing that can be easily done by Python
without recourse to any other programs".

So please, any suggestions are welcome.

As always, many thanks to this group,
Ken

--
The greatest performance improvement occurs on the transition of from
the non-working state to the working state.
Nov 29 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1669
by: herbalmart | last post by:
--._B8C434_.F0CA_DE__172_ Content-Type: text/html; Content-Transfer-Encoding: quoted-printable <center><font face=3D"verdana" size=3D+3>The only solution to Penis Enlarg= ement</font><br><font color=3D"#FFFFFF></font> <br><font face=3D"arial" size=3D+2 color=3D"#FF0000">ONLY THIS WEEK:</fo= nt> <font face=3D"arial" color=3D"000000" size=3D+2>Add at least 3 INCHES or get your money back!</font><br> <br></center><table...
38
3616
by: Jukka K. Korpela | last post by:
As well all know, valid markup is important... but when trying to find a convincing modern argument in favor of this, I found pages like http://www.htmlhelp.com/tools/validator/reasons.html which was very nice when Netscape ruled the World Wide Web, and http://valet.htmlhelp.com/page/why.html which is very suggestive but does not really give any factual example. Is there something to be _shown_ to people who ask "why validate?"? A page...
2
3325
by: NM | last post by:
Hello all, I am supposed to do some mixed programming with c++ and fortran. I was succeeful in exchanging the 2D arrays from fortran to c++ and the other way, but was unable to that same with the 3D arrays, the values passed are not all the same. I am also pasting the fortran and c++ codes so that you could have a look at them. ////C++ Code
4
1333
by: N. Graves | last post by:
First... thanks for taking time to read my quest. I have Access database that I have created that once it has been deployed I will not know who has it or who is using it. This is my idea but I'm not limited to this. I would like to create a solution that allow the user to click a button or some action that would go to an asp web page and tell them that they either have a old version and needs to updated or they are using the latest...
2
1578
by: Rick D. | last post by:
Hi all, I'm looking for information on running a c# application on a webpage, just like a java-applet. And the second thing i'm looking for is information on how to display 3d graphics with c#. And if there are 3d model importers available for it (like milkshape ms3d or something similar). I'm not even sure if all this can be done, but if it can, i would like
1
1177
by: td0g03 | last post by:
This is the code I have so far. I want it to print it in different order like you can probably see below. But when I actually see the results it gives me different numbers. It gives me this after I type 10 numbers in...2293620 22935842293616 22935882293612 22935922293608 22935962293604 2293600 Here is my code so far maybe you guys can tell me what I did wrong... #include <stdio.h> int main (void) {
4
2250
by: dylan.ribb | last post by:
Hello All, I just recently started programming with C++, and I have to say it's a lot of fun. However, I've only ever programmed examples from books or slight modifications of those examples. So, the point of this post is to ask: What kind of things do you program with your knowledge of C++? What is the most creative C++ program you've ever written? And, what other fun things can I do with this great language?
4
1501
by: JoeC | last post by:
I am a C++/win32 game programmer and I am looking for groups or cites that user friendly forums for creating games. Any good sites or forums I can join that I can discuss programming.
4
5237
by: Jon Harrop | last post by:
I am writing a 3D graphing component built upon WPF and would like to have 2D vector graphics (e.g. typeset mathematics) as labels laid out from 3D coordinates. For example, a tick on an axis has a 3D coordinate and its 2D label might be right-aligned to the 2D projection of that 3D point. The following Mathematica plot illustrates the functionality I am after: http://math.arizona.edu/~goriely/M322/Mathma-ComplexFunc.jpg I have done...
0
9619
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10260
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7460
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6712
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.