Coder Social home page Coder Social logo

easybpy's People

Stargazers

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

Watchers

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

easybpy's Issues

Add doc strings and auto documentation via pdoc

This is an awesome collection of building blocks. I myself had been wanting to build this something like this but now I don't have to!

I'd like to add doc strings to all the functions and set up a build pipeline create documentation from the functions.

Is this something you would be open to?

Returning so() as a fallback

Hello! Thanks for this code, I like the idea.
There is one thing which caught my attention:
get_object() is not equal to so(), but get_object('NameWithTypo') returns so().
I think in order to optimize UX every name string should be considered mistyped and the unexpected results will cause confusion until the typo is noticed.
get_object(None) returns so() too, but if ref argument contains None isn't it a mistake as well?

arguments better than 4 functions

For example in the recent commit u have done , u have fluid type
so u have done set_fluid_type_none ,set_fluid_type_domain and so on
wont it be better and more effitient for u to do set_fluid_type(type): and then pass type into command inside
removing 4 functions for 1.
The reason for me suggesting this is that a person who knows a little bit of programming expects things to be this way
even if u want to keep this easy
u can just add an alternative 5th functions to support mainstream workflow also
Similarly instead of having

flow_type_set_smoke
flow_type_set_fire
flow_type_set_fire_smoke
flow_type_set_fluid
u can have set_flow_type(type)

My company won't let me import GPL modules such as easybpy

My company won't let its employers or contractors import Python modules licensed GPL, or any other copyleft license. Apparently this is quite common, which is why a lot of recent open source software has more permissive licenses; check out the JavaScript/npm ecosystem for example: jQuery is licensed MIT (and it plays a role similar to EasyBPY), React is MIT, Vue.js is MIT...

(We are allowed to use creative software that's GPL, such as Blender, because creative works generated by Blender don't inherit the GPL license from Blender. Whoever created the work owns its copyright and can license it however they please.)

I'd like to use EasyBPY, but to do so, I'd have to import it, and it's licensed GPL, so that makes it impossible.

Could you change the license on EasyBPY to one that's not copyleft, e.g. the MIT, Apache 2, or some other non-copyleft license?

why does easyBPY provide duplicate functions?

example:

def set_render_engine_cycles():
    set_render_engine_to_cycles()

def set_render_engine_eevee():
    set_render_engine_to_eevee()

why provide set_render_engine_cycles, if there is set_render_engine_to_cycles
it goes against the zen of Python There should be one-- and preferably only one --obvious way to do it

move_along_local_x is broken with negativ scale

Hey Curtis,
I found an issue.

The "move_along_local_x" only works if the object scale is positiv.
If you set the object scale to -1 it still moves the object in the positiv direction.
But I would expect, the the local movement should be flipped in this case.

wrong_direction

fluid_fluid_particles_traped_air_potential_minimum duplicated in easybpy.py

At line 3120

def fluid_fluid_particles_traped_air_potential_minimum(value):
val = float(value)
bpy.context.object.modifiers["Fluid"].domain_settings.sndparticle_potential_max_trappedair = val

def fluid_fluid_particles_traped_air_potential_minimum(value):
val = float(value)
bpy.context.object.modifiers["Fluid"].domain_settings.sndparticle_potential_min_trappedair = val

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.