question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE] Add fill properties to slope

See original GitHub issue

It’d be useful to have an annotation like BoxAnnotation that creates a dividing line, but which can be angled. It’s possible to achieve something similar with an image, but then interaction is extremely slow as the plot has to re-render the image at every frame.

Using bands

This may be possible if we expand the features of the Band annotation. Currently, leaving lower or upper unspecified results in a blank figure, but we could change the behavior such that if either is unspecified the band continuous off infinitely.

I’d like to hear the thoughts of those more familiar with the capabilities of annotations.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bryevdvcommented, Sep 3, 2019

I had forgotten Slope is configured with an intercept and derivative (instead of a point and an angle, say) so yes I agree it’s not possible to make a vertical slope, and that above/below are therefore well-defined always.

0reactions
graeme-hattancommented, Nov 11, 2019

If you add above_fill_color and below_fill_color to Slope, then what is missing is the ability to fill between slopes like you can for horizontal/vertical lines using BoxAnnotation. Maybe a better solution is along the lines of adding gradient parameters to BoxAnnotation (then probably renaming the class to something more descriptive and then making BoxAnnotation a subclass which sets up horizontal/vertical borders).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fill symbol layers—ArcGIS Pro | Documentation
Fill symbol layers are components of symbols that cover areal geometries with ... You define the arrangement of the gradient colors using the...
Read more >
Fill Properties - Introduction to Grapher
The Fill orientation option sets the direction the gradient fills. When the Type is set to Linear, choose either Vertical or Horizontal for...
Read more >
To Work With Corridor Slope Patterns | Civil 3D 2021
In Corridor Properties dialog box, click the Slope Patterns tab. Click Add Slope Pattern >>. In the drawing, select the first corridor ...
Read more >
CADline - AutoCAD Civil 3D - Grading Slope Styles - YouTube
CADline AutoCAD Civil 3D Technical Tip & Trick titled "CIVIL001 - Grading Slope Styles".For more Technical Tips and Tricks visit: ...
Read more >
Modeling a Civil 3D corridor with variable slope daylight
In this session we will look at how a custom built subassembly part can be used to create a variable slope daylight condition....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found