GithubHelp home page GithubHelp logo

ranjeethmahankali / galproject Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 3.0 35.72 MB

A library of computational geometry algorithms

License: GNU General Public License v3.0

C++ 94.53% CMake 0.59% Shell 0.08% Python 3.59% GLSL 0.68% C 0.53%
c-plus-plus computational-geometry functional-programming

galproject's People

Contributors

ranjeethmahankali avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

galproject's Issues

Improved UI

Replace the buttons (settings panel) with a Rhino like command interface.

this interface can later be used to toggle the visibility of various panels (inputs, outputs, logs, canvas etc.)

Consolidate point clouds

Templatize the polylines and pointclouds so that, 2d and 3d versions are not separate.
Pointclouds should use r-trees for queries.

Improve implementation of Lambdas

The current implementation is a temporary hack. Implement something that allows the user to elevate python functions to lambdas to be used by pygalfunc.

List and tree processing

Ideally, galfunc should have parity with Grasshoppers capabilities in terms of processing list and tree data.

Canvas View

Show the loaded graph of functions in a view similar to Grasshopper's canvas.

Testing

  • In addition to unit tests, add python tests that run demos.
  • Use Github actions to run builds and tests.
  • Use the caching feature of github workflows for dependencies and external libs

Needs #25

Crash when applying colors to a mesh

import pygalview as pgv

index = pgv.slideri32("Index", 0, 4968, 0)
colors = pgf.graft(pgf.var_vec3((1.0, 0.0, 0.0)))
scaled = pgf.meshWithColors(
    pgf.scale(
        pgf.loadObjFile(pgf.absPath(pgf.var_string("../assets/bunny.obj"))),
        pgf.var_float(10.0)), colors)

Above script crashes galview.

Generating documentation

It would be nice to generate documentation for all functions in pygalfunc and galview as post-build task.

This can be used when writing python demos.

The library is changing too often at the moment, so I might consider doing this later when its more stable.

Tags and Glyphs

I disabled these during a recent refactor. Must bring these back after data-trees and overloading are implemented.

Overloaded functions using templates

Easy way to define functions for galfunc, using a template. The overloads of the function are the instantiations of this template with different parameters.

Logging

Implementing proper logging in galcore, so that its accessible to all projects.
Projects that consume this logging infrastructure should be able to extend it.
For example, galview should be able to use this to maintain its own logging panel instead of writing messages to the command line.

Bring back debugging visualization

The first attempt was a bit hacky.
Should figure out a proper way to hook into a running debug session and get the geometry from there.

List Utility Functions

  • Series
  • Repeat
  • ListItem
  • SubList
  • ListSum
  • ListLength

Need to solve the issue with boolean data before this can be implemented.

  • Dispatch

Automated conversion

When a function tries to read data of a certain type from a register, if the type of the data stored in the register doesn't match, it should be automatically converted using a registered polymorphic converter.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.