项目作者: pbauermeister

项目描述 :
Computes the flat 2D curve needed to build a cone that was truncated by an arbitrary plane.
高级语言: Python
项目地址: git://github.com/pbauermeister/ConeDevelopment.git
创建时间: 2018-08-09T19:03:02Z
项目社区:https://github.com/pbauermeister/ConeDevelopment

开源协议:Other

下载


ConeDevelopment

(C) by Pascal Bauermeister, 2018.

A. Purpose

ConeDevelopment is an interactive program to explore the development
of a truncated cone.

Truncating a cone by a plane results in second degree curves in the
truncation plane. But what about the curve when you develop the
surface of the truncated cone?

Surprisingly these curves are not so obvious or trivial. See
this picture.

This program lets you explore the question by computing the curve
numerically. One can modify the cone shape and plane angle as desired
and see the resulting development curve.

Screenshot

This program was based on another more complex program,
https://github.com/pbauermeister/Anamorphy. That is why (1) in the
source code there may be remains of the original program, and (2) it
is still in Python 2.x.

I would be interested in any analytical solution (as opposed to the
very overkill numerical solution proposed here). You can kindly
contact me (or post a github ticket) for any hint.

This program was inspired by an interesting discussion I had with Udo
Bund, my wife’s uncle. It was about the construction of a cap to fit
on the nozzle of a high-pressure Kärcher cleaner in order to reduce
the lateral projections.

B. Building process

The build process for Debian Linux, Mac OSX and Microsoft Windows has not been (re)tested. Please be patient.

C. How to run?

Binary distributions (install packages) will be made available (as soon as the build process is working).

Meanwhile you can install Python and needed libraries, and run from the command-line:

  1. git clone https://github.com/pbauermeister/ConeDevelopment.git
  2. cd ConeDevelopment
  3. python conedevelopment.py

See copyright, license and credits.